summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-12-22 10:19:13 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-22 10:19:13 -0200
commitb041d4c5cfa27296e25d7719299bb0e745fc45cf (patch)
treefb6449ce0fadaa46fb6cfaba2cf16631fdd70dd0
parent585b4e51209e77b24d2d03f4dd30af1ec34e9002 (diff)
downloadmediapointer-dvb-s2-b041d4c5cfa27296e25d7719299bb0e745fc45cf.tar.gz
mediapointer-dvb-s2-b041d4c5cfa27296e25d7719299bb0e745fc45cf.tar.bz2
v4l2-dbg: print also register number when name is available
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--v4l2-apps/util/v4l2-dbg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/v4l2-apps/util/v4l2-dbg.cpp b/v4l2-apps/util/v4l2-dbg.cpp
index 620702858..1841e677b 100644
--- a/v4l2-apps/util/v4l2-dbg.cpp
+++ b/v4l2-apps/util/v4l2-dbg.cpp
@@ -555,7 +555,7 @@ int main(int argc, char **argv)
printf("Register ");
if (name)
- printf("%s", name);
+ printf("%s (0x%08llx)", name, set_reg.reg);
else
printf("0x%08llx", set_reg.reg);
@@ -616,7 +616,7 @@ int main(int argc, char **argv)
printf("Register ");
if (name)
- printf("%s", name);
+ printf("%s (0x%08llx)", name, get_reg.reg);
else
printf("0x%08llx", get_reg.reg);