summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/compat_ioctl32.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/compat_ioctl32.c')
-rw-r--r--linux/drivers/media/video/compat_ioctl32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/compat_ioctl32.c b/linux/drivers/media/video/compat_ioctl32.c
index 467a6d44b..8314f1776 100644
--- a/linux/drivers/media/video/compat_ioctl32.c
+++ b/linux/drivers/media/video/compat_ioctl32.c
@@ -491,7 +491,7 @@ static int do_set_window(struct file *file, unsigned int cmd, unsigned long arg)
}
}
- return native_ioctl(file, VIDIOCSWIN, (unsigned long)p);
+ return native_ioctl(file, VIDIOCSWIN, (unsigned long)vw);
}
static int do_video_ioctl(struct file *file, unsigned int cmd, unsigned long arg)