summaryrefslogtreecommitdiff
path: root/v4l2-apps/util
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-12-22 09:36:29 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-22 09:36:29 -0200
commiteb7bc99b0b15c28d8d0bd3dd4be26710d03dac2a (patch)
tree20528c08a7bd947a0d1f4c9d1d60784f79ca4239 /v4l2-apps/util
parentcdf96638de5ab84aa3c30176add8d458d4344014 (diff)
downloadmediapointer-dvb-s2-eb7bc99b0b15c28d8d0bd3dd4be26710d03dac2a.tar.gz
mediapointer-dvb-s2-eb7bc99b0b15c28d8d0bd3dd4be26710d03dac2a.tar.bz2
v4l2-dbg: fix --list-symbols option
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'v4l2-apps/util')
-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 31206a562..c1e107de1 100644
--- a/v4l2-apps/util/v4l2-dbg.cpp
+++ b/v4l2-apps/util/v4l2-dbg.cpp
@@ -706,9 +706,9 @@ list_done:
else {
printf("Symbols for driver %s:\n", vcap.driver);
for (int i = 0; i < curr_bd->regs_size; i++)
- printf("0x%08x: %s\n", curr_bd->regs[i], curr_bd->regs[i].name);
+ printf("0x%08x: %s\n", curr_bd->regs[i].reg, curr_bd->regs[i].name);
for (int i = 0; i < curr_bd->alt_regs_size; i++)
- printf("0x%08x: %s\n", curr_bd->alt_regs[i], curr_bd->alt_regs[i].name);
+ printf("0x%08x: %s\n", curr_bd->alt_regs[i].reg, curr_bd->alt_regs[i].name);
}
}