summaryrefslogtreecommitdiff
path: root/drivers/media/video
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2007-05-07 17:55:49 +0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-05-09 17:13:04 +0400
commit57e45b31c1f32d15b6642c3af1578ee40be35dfb (patch)
treed291686d1387a25aa88fb6582c1f87169c36ad86 /drivers/media/video
parent14c4ffbe68247776ad45f1e9c4b6a74abb6936c0 (diff)
downloadlinux-57e45b31c1f32d15b6642c3af1578ee40be35dfb.tar.xz
V4L/DVB (5617): V4L2: videodev, allow debugging
videodev, allow debugging fix typo? in videodev.c to allow debugging Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/videodev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c
index db4bee842745..b876aca69c73 100644
--- a/drivers/media/video/videodev.c
+++ b/drivers/media/video/videodev.c
@@ -433,7 +433,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
int ret = -EINVAL;
if ( (vfd->debug & V4L2_DEBUG_IOCTL) &&
- !(vfd->debug | V4L2_DEBUG_IOCTL_ARG)) {
+ !(vfd->debug & V4L2_DEBUG_IOCTL_ARG)) {
v4l_print_ioctl(vfd->name, cmd);
}