summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-13 12:07:16 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-13 12:07:16 -0300
commit97d73f901ce2d7930f127373845d07107e747525 (patch)
tree3d266d47479fd79850fc97caee108baf1c7cc8c9 /linux/drivers/media
parent22add3caf635d41daa1988b08a8f343ed9823318 (diff)
downloadmediapointer-dvb-s2-97d73f901ce2d7930f127373845d07107e747525.tar.gz
mediapointer-dvb-s2-97d73f901ce2d7930f127373845d07107e747525.tar.bz2
videodev: Some printk fixes
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/video/videodev.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/video/videodev.c b/linux/drivers/media/video/videodev.c
index 9c5f66274..31e28a14f 100644
--- a/linux/drivers/media/video/videodev.c
+++ b/linux/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 <linux/module.h>
#include <linux/types.h>
@@ -818,6 +818,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
@@ -1901,8 +1902,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");
}
}