diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/shmget.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/shmget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/shmget.c b/sysdeps/unix/sysv/linux/shmget.c index b3d74e69e5..c9720f4c4b 100644 --- a/sysdeps/unix/sysv/linux/shmget.c +++ b/sysdeps/unix/sysv/linux/shmget.c @@ -33,5 +33,6 @@ shmget (key, size, shmflg) size_t size; int shmflg; { - return INLINE_SYSCALL (ipc, 5, IPCOP_shmget, key, size, shmflg, NULL); + return INLINE_SYSCALL_RETURN (ipc, 5, int, IPCOP_shmget, key, size, + shmflg, NULL); } |