From dcaa768e2e8eeebdbc124b5c899b36a9b0a52024 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 12 Feb 2000 07:38:04 +0000 Subject: (inet_network): Add missing part of last patch. --- sysdeps/unix/sysv/linux/i386/shmctl.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/unix/sysv/linux/i386/shmctl.c b/sysdeps/unix/sysv/linux/i386/shmctl.c index 0b68d785fe..957416113b 100644 --- a/sysdeps/unix/sysv/linux/i386/shmctl.c +++ b/sysdeps/unix/sysv/linux/i386/shmctl.c @@ -90,6 +90,7 @@ __new_shmctl (int shmid, int cmd, struct shmid_ds *buf) { struct __old_shmid_ds old; + int result; # ifdef __NR_getuid32 if (__libc_missing_32bit_uids <= 0) @@ -107,10 +108,8 @@ __new_shmctl (int shmid, int cmd, struct shmid_ds *buf) __set_errno(save_errno); } if (__libc_missing_32bit_uids <= 0) - { - result = INLINE_SYSCALL (ipc, 5, IPCOP_shmctl, shmid, cmd | __IPC_64, 0, buf); - return result; - } + return INLINE_SYSCALL (ipc, 5, IPCOP_shmctl, shmid, cmd | __IPC_64, + 0, buf); } # endif -- cgit v1.2.3