about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-12 07:38:04 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-12 07:38:04 +0000
commitdcaa768e2e8eeebdbc124b5c899b36a9b0a52024 (patch)
treeb186cc1a73d80e41290a66c62dfe6433c359dfd9 /sysdeps/unix
parente87f0c3347747708c65f0d9f54d3fb1895fb4162 (diff)
downloadglibc-dcaa768e2e8eeebdbc124b5c899b36a9b0a52024.tar.gz
glibc-dcaa768e2e8eeebdbc124b5c899b36a9b0a52024.tar.xz
glibc-dcaa768e2e8eeebdbc124b5c899b36a9b0a52024.zip
(inet_network): Add missing part of last patch.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/i386/shmctl.c7
1 files changed, 3 insertions, 4 deletions
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