about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/alpha/semctl.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-20 06:16:38 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-20 06:16:38 +0000
commitaab0963999b40fac0b8df76a889097e8bd703e1f (patch)
tree7b3bb5d5a797a39a9ae19be7891135fb6ccbc074 /sysdeps/unix/sysv/linux/alpha/semctl.c
parent0b4a2ea611511bcdf65937f83591b5d018dce3f0 (diff)
downloadglibc-aab0963999b40fac0b8df76a889097e8bd703e1f.tar.gz
glibc-aab0963999b40fac0b8df76a889097e8bd703e1f.tar.xz
glibc-aab0963999b40fac0b8df76a889097e8bd703e1f.zip
Update.
2000-10-19  Ulrich Drepper  <drepper@redhat.com>

	* locales/iso14651_t1: Handle Macedonian correctly.
	Patch by Damjan <arhiv@freemail.org.mk>.
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/semctl.c')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/semctl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/semctl.c b/sysdeps/unix/sysv/linux/alpha/semctl.c
index 48bc2d45cf..ea1a1e4d71 100644
--- a/sysdeps/unix/sysv/linux/alpha/semctl.c
+++ b/sysdeps/unix/sysv/linux/alpha/semctl.c
@@ -73,7 +73,7 @@ __new_semctl (int semid, int semnum, int cmd, ...)
 
 #if __ASSUME_32BITUIDS > 0
   return INLINE_SYSCALL (semctl, 4, semid, semnum, cmd | __IPC_64,
-			 CHECK_SEMCTL (&arg, semid, cmd | __IPC_64));
+			 CHECK_SEMCTL (&arg, semid, cmd | __IPC_64)->array);
 #else
   switch (cmd) {
     case SEM_STAT:
@@ -82,7 +82,7 @@ __new_semctl (int semid, int semnum, int cmd, ...)
       break;
     default:
       return INLINE_SYSCALL (semctl, 4, semid, semnum, cmd,
-			     CHECK_SEMCTL (&arg, semid, cmd));
+			     CHECK_SEMCTL (&arg, semid, cmd)->array);
   }
 
   {
@@ -93,7 +93,7 @@ __new_semctl (int semid, int semnum, int cmd, ...)
     /* Unfortunately there is no way how to find out for sure whether
        we should use old or new semctl.  */
     result = INLINE_SYSCALL (semctl, 4, semid, semnum, cmd | __IPC_64,
-			     CHECK_SEMCTL (&arg, semid, cmd | __IPC_64));
+			     CHECK_SEMCTL (&arg, semid, cmd | __IPC_64)->array);
     if (result != -1 || errno != EINVAL)
       return result;
 
@@ -113,7 +113,7 @@ __new_semctl (int semid, int semnum, int cmd, ...)
 	  }
       }
     result = INLINE_SYSCALL (semctl, 4, semid, semnum, cmd,
-			     CHECK_SEMCTL (&arg, semid, cmd));
+			     CHECK_SEMCTL (&arg, semid, cmd)->array);
     if (result != -1 && cmd != IPC_SET)
       {
 	memset(buf, 0, sizeof(*buf));