Explorar o código

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

Bernhard Reutner-Fischer %!s(int64=18) %!d(string=hai) anos
pai
achega
3a59892925
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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