From: Mauro Carvalho Chehab Date: Sun, 13 Apr 2008 18:07:16 +0000 (-0300) Subject: V4L/DVB (7560): videodev: Some printk fixes X-Git-Tag: v2.6.26-rc1~1084^2~154 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d6849652628d3479859ca10bdd4b21024466df5f;p=linux-2.6-omap-h63xx.git V4L/DVB (7560): videodev: Some printk fixes Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c index 4c4ee566d25..effcd2ae415 100644 --- a/drivers/media/video/videodev.c +++ b/drivers/media/video/videodev.c @@ -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 #include @@ -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"); } }