summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/videodev.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-23 07:05:22 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-23 07:05:22 -0300
commit0bd0aae26b024aaa9e5882814b9ad2dd92ea6e03 (patch)
treeab9bf2667473c5b32f7b0fa8fccb8a474aad7478 /linux/drivers/media/video/videodev.c
parent58bf3ce7ee0c87c3aa9055e19a886b470dd09d0f (diff)
downloadmediapointer-dvb-s2-0bd0aae26b024aaa9e5882814b9ad2dd92ea6e03.tar.gz
mediapointer-dvb-s2-0bd0aae26b024aaa9e5882814b9ad2dd92ea6e03.tar.bz2
fix userbits debug prints
From: Mauro Carvalho Chehab <mchehab@infradead.org> Previously, it were showing the pointer value, instead of the setted bits. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/videodev.c')
-rw-r--r--linux/drivers/media/video/videodev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/videodev.c b/linux/drivers/media/video/videodev.c
index 9241cf5be..976ce381b 100644
--- a/linux/drivers/media/video/videodev.c
+++ b/linux/drivers/media/video/videodev.c
@@ -342,7 +342,7 @@ static void dbgbuf(unsigned int cmd, struct video_device *vfd,
dbgarg2 ("timecode= %02d:%02d:%02d type=%d, "
"flags=0x%08d, frames=%d, userbits=0x%08x\n",
tc->hours,tc->minutes,tc->seconds,
- tc->type, tc->flags, tc->frames, (__u32) tc->userbits);
+ tc->type, tc->flags, tc->frames, *(__u32 *) tc->userbits);
}
static inline void dbgrect(struct video_device *vfd, char *s,