summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videodev.c
diff options
context:
space:
mode:
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,
{
struct video_mbuf *p=arg;
- memset(&p,0,sizeof(p));
+ memset(p,0,sizeof(p));
if (!vfd->vidiocgmbuf)
break;
OpenPOWER on IntegriCloud