diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-10-09 21:24:49 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-09 23:19:08 +0200 |
commit | 5c09d96b34ac9b95ab4606e51ddb34ed0f19faf1 (patch) | |
tree | 026980baf553bc734df125d1fb0aaafcad5c07ae /fs/ncpfs/ioctl.c | |
parent | [PATCH] mv64630_pic NULL noise removal (diff) | |
download | linux-5c09d96b34ac9b95ab4606e51ddb34ed0f19faf1.tar.xz linux-5c09d96b34ac9b95ab4606e51ddb34ed0f19faf1.zip |
[PATCH] wrong order of arguments in copy_to_user() in ncpfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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: struct compat_ncp_privatedata_ioctl user32; user32.len = user.len; user32.data = (unsigned long) user.data; - if (copy_to_user(&user32, argp, sizeof(user32))) + if (copy_to_user(argp, &user32, sizeof(user32))) return -EFAULT; } else #endif |