diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-23 06:05:22 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 01:05:13 -0400 |
commit | c18cb01ca139716a39f4fb92286b6096e8b3f968 (patch) | |
tree | f62cb4909578ee77ceab06f0f4946b29d41def84 /drivers/media/video/videodev.c | |
parent | b20c3cf0c225df1445fa220de175b8d9bc1c3659 (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/videodev.c')
-rw-r--r-- | drivers/media/video/videodev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c index 311149b80e9f..43152297e6d5 100644 --- a/drivers/media/video/videodev.c +++ b/drivers/media/video/videodev.c | |||
@@ -323,7 +323,7 @@ static void dbgbuf(unsigned int cmd, struct video_device *vfd, | |||
323 | dbgarg2 ("timecode= %02d:%02d:%02d type=%d, " | 323 | dbgarg2 ("timecode= %02d:%02d:%02d type=%d, " |
324 | "flags=0x%08d, frames=%d, userbits=0x%08x\n", | 324 | "flags=0x%08d, frames=%d, userbits=0x%08x\n", |
325 | tc->hours,tc->minutes,tc->seconds, | 325 | tc->hours,tc->minutes,tc->seconds, |
326 | tc->type, tc->flags, tc->frames, (__u32) tc->userbits); | 326 | tc->type, tc->flags, tc->frames, *(__u32 *) tc->userbits); |
327 | } | 327 | } |
328 | 328 | ||
329 | static inline void dbgrect(struct video_device *vfd, char *s, | 329 | static inline void dbgrect(struct video_device *vfd, char *s, |