diff options
Diffstat (limited to 'arch/arm/kernel/sys_oabi-compat.c')
-rw-r--r-- | arch/arm/kernel/sys_oabi-compat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/sys_oabi-compat.c b/arch/arm/kernel/sys_oabi-compat.c index e90a3148f385..b83f3b7737fb 100644 --- a/arch/arm/kernel/sys_oabi-compat.c +++ b/arch/arm/kernel/sys_oabi-compat.c | |||
@@ -400,7 +400,7 @@ asmlinkage long sys_oabi_sendto(int fd, void __user *buff, | |||
400 | return sys_sendto(fd, buff, len, flags, addr, addrlen); | 400 | return sys_sendto(fd, buff, len, flags, addr, addrlen); |
401 | } | 401 | } |
402 | 402 | ||
403 | asmlinkage long sys_oabi_sendmsg(int fd, struct msghdr __user *msg, unsigned flags) | 403 | asmlinkage long sys_oabi_sendmsg(int fd, struct user_msghdr __user *msg, unsigned flags) |
404 | { | 404 | { |
405 | struct sockaddr __user *addr; | 405 | struct sockaddr __user *addr; |
406 | int msg_namelen; | 406 | int msg_namelen; |
@@ -446,7 +446,7 @@ asmlinkage long sys_oabi_socketcall(int call, unsigned long __user *args) | |||
446 | break; | 446 | break; |
447 | case SYS_SENDMSG: | 447 | case SYS_SENDMSG: |
448 | if (copy_from_user(a, args, 3 * sizeof(long)) == 0) | 448 | if (copy_from_user(a, args, 3 * sizeof(long)) == 0) |
449 | r = sys_oabi_sendmsg(a[0], (struct msghdr __user *)a[1], a[2]); | 449 | r = sys_oabi_sendmsg(a[0], (struct user_msghdr __user *)a[1], a[2]); |
450 | break; | 450 | break; |
451 | default: | 451 | default: |
452 | r = sys_socketcall(call, args); | 452 | r = sys_socketcall(call, args); |