diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-17 08:52:30 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-17 08:52:30 -0300 |
commit | 33f52debf9c5638b0eded7614e77b57430a0a3fb (patch) | |
tree | 5419c831043dfee9b7ea9b5f5bb04baf427ef8a3 /linux/drivers/media/video/videodev.c | |
parent | f3557e8748785f4d92bcfad80becf953561bb2e7 (diff) | |
download | mediapointer-dvb-s2-33f52debf9c5638b0eded7614e77b57430a0a3fb.tar.gz mediapointer-dvb-s2-33f52debf9c5638b0eded7614e77b57430a0a3fb.tar.bz2 |
Fix: videodev.c were cleaning the pointer, not the values
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/videodev.c')
-rw-r--r-- | linux/drivers/media/video/videodev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/videodev.c b/linux/drivers/media/video/videodev.c index 60407ba08..9241cf5be 100644 --- a/linux/drivers/media/video/videodev.c +++ b/linux/drivers/media/video/videodev.c @@ -753,7 +753,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file, { struct video_mbuf *p=arg; - memset(&p,0,sizeof(p)); + memset(p,0,sizeof(p)); if (!vfd->vidiocgmbuf) break; |