diff options
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/ia32/sys_ia32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/ia32/sys_ia32.c b/arch/x86_64/ia32/sys_ia32.c index 04d80406ce4f..5389df610e78 100644 --- a/arch/x86_64/ia32/sys_ia32.c +++ b/arch/x86_64/ia32/sys_ia32.c | |||
@@ -751,7 +751,7 @@ sys32_sendfile(int out_fd, int in_fd, compat_off_t __user *offset, s32 count) | |||
751 | ret = sys_sendfile(out_fd, in_fd, offset ? &of : NULL, count); | 751 | ret = sys_sendfile(out_fd, in_fd, offset ? &of : NULL, count); |
752 | set_fs(old_fs); | 752 | set_fs(old_fs); |
753 | 753 | ||
754 | if (!ret && offset && put_user(of, offset)) | 754 | if (offset && put_user(of, offset)) |
755 | return -EFAULT; | 755 | return -EFAULT; |
756 | 756 | ||
757 | return ret; | 757 | return ret; |