diff options
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/arv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/arv.c b/drivers/media/video/arv.c index 2666d3b76630..19e9929ffa0f 100644 --- a/drivers/media/video/arv.c +++ b/drivers/media/video/arv.c | |||
@@ -441,7 +441,7 @@ static int ar_do_ioctl(struct inode *inode, struct file *file, | |||
441 | { | 441 | { |
442 | struct video_window *w = arg; | 442 | struct video_window *w = arg; |
443 | DEBUG(1, "VIDIOCGWIN:\n"); | 443 | DEBUG(1, "VIDIOCGWIN:\n"); |
444 | memset(w, 0, sizeof(w)); | 444 | memset(w, 0, sizeof(*w)); |
445 | w->width = ar->width; | 445 | w->width = ar->width; |
446 | w->height = ar->height; | 446 | w->height = ar->height; |
447 | return 0; | 447 | return 0; |