diff options
Diffstat (limited to 'ipc/syscall.c')
-rw-r--r-- | ipc/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/syscall.c b/ipc/syscall.c index 1d6f53f6b562..0d1e32ce048e 100644 --- a/ipc/syscall.c +++ b/ipc/syscall.c | |||
@@ -73,7 +73,7 @@ SYSCALL_DEFINE6(ipc, unsigned int, call, int, first, unsigned long, second, | |||
73 | default: { | 73 | default: { |
74 | unsigned long raddr; | 74 | unsigned long raddr; |
75 | ret = do_shmat(first, (char __user *)ptr, | 75 | ret = do_shmat(first, (char __user *)ptr, |
76 | second, &raddr); | 76 | second, &raddr, SHMLBA); |
77 | if (ret) | 77 | if (ret) |
78 | return ret; | 78 | return ret; |
79 | return put_user(raddr, (unsigned long __user *) third); | 79 | return put_user(raddr, (unsigned long __user *) third); |