V4L/DVB (7560): videodev: Some printk fixes
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 13 Apr 2008 18:07:16 +0000 (15:07 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:08:48 +0000 (14:08 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/videodev.c

index 4c4ee566d25788ac01302738854d1477434ebc29..effcd2ae4152db573e773e10c35d9f5b224f924c 100644 (file)
@@ -25,7 +25,7 @@
 
 #define dbgarg2(fmt, arg...) \
                if (vfd->debug & V4L2_DEBUG_IOCTL_ARG)                  \
-                       printk (KERN_DEBUG "%s: " fmt, vfd->name, ## arg);
+                       printk(KERN_DEBUG "%s: " fmt, vfd->name, ## arg);
 
 #include <linux/module.h>
 #include <linux/types.h>
@@ -781,6 +781,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
        if ( (vfd->debug & V4L2_DEBUG_IOCTL) &&
                                !(vfd->debug & V4L2_DEBUG_IOCTL_ARG)) {
                v4l_print_ioctl(vfd->name, cmd);
+               printk("\n");
        }
 
 #ifdef CONFIG_VIDEO_V4L1_COMPAT
@@ -1864,8 +1865,9 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
 
        if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) {
                if (ret<0) {
-                       printk ("%s: err:\n", vfd->name);
+                       printk("%s: err: on ", vfd->name);
                        v4l_print_ioctl(vfd->name, cmd);
+                       printk("\n");
                }
        }