Browse Source

- Fix compilation: semtimedop has 4 args (and not 6)

Bernhard Reutner-Fischer 16 years ago
parent
commit
3a59892925
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/misc/sysvipc/sem.c

+ 1 - 1
libc/misc/sysvipc/sem.c

@@ -92,7 +92,7 @@ int semop (int semid, struct sembuf *sops, size_t nsops)
 #ifdef L_semtimedop
 
 #ifdef __NR_semtimedop
-_syscall6(int, semtimedop, int, semid, struct sembuf *, sops, size_t, nsops, const struct timespec *, timeout);
+_syscall4(int, semtimedop, int, semid, struct sembuf *, sops, size_t, nsops, const struct timespec *, timeout);
 
 #else