aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/v4l2-common.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-23 06:05:22 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:05:13 -0400
commitc18cb01ca139716a39f4fb92286b6096e8b3f968 (patch)
treef62cb4909578ee77ceab06f0f4946b29d41def84 /drivers/media/video/v4l2-common.c
parentb20c3cf0c225df1445fa220de175b8d9bc1c3659 (diff)
V4L/DVB (4148): Fix userbits debug prints
Previously, it were showing the pointer value, instead of the setted bits. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/v4l2-common.c')
-rw-r--r--drivers/media/video/v4l2-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/v4l2-common.c b/drivers/media/video/v4l2-common.c
index bffe48275eb0..2b2c0b3a16ad 100644
--- a/drivers/media/video/v4l2-common.c
+++ b/drivers/media/video/v4l2-common.c
@@ -486,9 +486,9 @@ void v4l_printk_ioctl_arg(char *s,unsigned int cmd, void *arg)
486 prt_names(p->memory,v4l2_memory_names), 486 prt_names(p->memory,v4l2_memory_names),
487 p->m.userptr); 487 p->m.userptr);
488 printk ("%s: timecode= %02d:%02d:%02d type=%d, " 488 printk ("%s: timecode= %02d:%02d:%02d type=%d, "
489 "flags=0x%08x, frames=%d, userbits=0x%p\n", 489 "flags=0x%08x, frames=%d, userbits=0x%08x\n",
490 s,tc->hours,tc->minutes,tc->seconds, 490 s,tc->hours,tc->minutes,tc->seconds,
491 tc->type, tc->flags, tc->frames, tc->userbits); 491 tc->type, tc->flags, tc->frames, *(__u32 *) tc->userbits);
492 break; 492 break;
493 } 493 }
494 case VIDIOC_QUERYCAP: 494 case VIDIOC_QUERYCAP: