Browse Source

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

Bernhard Reutner-Fischer 18 năm trước cách đây
mục cha
commit
3a59892925
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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