aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videodev.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-17 07:52:30 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:05:09 -0400
commit4ceb04e1b1cf724b6ed805955adfbbdfa8a3d436 (patch)
tree474b3c027e8a34699062cf2aff094e7f1a286799 /drivers/media/video/videodev.c
parent35a303b1d788623939756136d85aecccf2d82686 (diff)
V4L/DVB (4112): Fix: videodev.c were cleaning the pointer, not the values
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/videodev.c')
-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 3f7a94b80c63..311149b80e9f 100644
--- a/drivers/media/video/videodev.c
+++ b/drivers/media/video/videodev.c
@@ -734,7 +734,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
734 { 734 {
735 struct video_mbuf *p=arg; 735 struct video_mbuf *p=arg;
736 736
737 memset(&p,0,sizeof(p)); 737 memset(p,0,sizeof(p));
738 738
739 if (!vfd->vidiocgmbuf) 739 if (!vfd->vidiocgmbuf)
740 break; 740 break;