aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/zoran_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/zoran_driver.c b/drivers/media/video/zoran_driver.c
index 4dbe2d449b50..d831ca16d9e9 100644
--- a/drivers/media/video/zoran_driver.c
+++ b/drivers/media/video/zoran_driver.c
@@ -3196,7 +3196,7 @@ zoran_do_ioctl (struct inode *inode,
3196 "%s: VIDIOC_QUERYBUF - index=%d, type=%d\n", 3196 "%s: VIDIOC_QUERYBUF - index=%d, type=%d\n",
3197 ZR_DEVNAME(zr), buf->index, buf->type); 3197 ZR_DEVNAME(zr), buf->index, buf->type);
3198 3198
3199 memset(buf, 0, sizeof(buf)); 3199 memset(buf, 0, sizeof(*buf));
3200 buf->type = type; 3200 buf->type = type;
3201 buf->index = index; 3201 buf->index = index;
3202 3202