diff options
Diffstat (limited to 'fs/ncpfs/ioctl.c')
-rw-r--r-- | fs/ncpfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ncpfs/ioctl.c b/fs/ncpfs/ioctl.c index a89ac84a8241..589d1eac55c1 100644 --- a/fs/ncpfs/ioctl.c +++ b/fs/ncpfs/ioctl.c | |||
@@ -726,7 +726,7 @@ outrel: | |||
726 | struct compat_ncp_privatedata_ioctl user32; | 726 | struct compat_ncp_privatedata_ioctl user32; |
727 | user32.len = user.len; | 727 | user32.len = user.len; |
728 | user32.data = (unsigned long) user.data; | 728 | user32.data = (unsigned long) user.data; |
729 | if (copy_to_user(&user32, argp, sizeof(user32))) | 729 | if (copy_to_user(argp, &user32, sizeof(user32))) |
730 | return -EFAULT; | 730 | return -EFAULT; |
731 | } else | 731 | } else |
732 | #endif | 732 | #endif |