浏览代码

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

Bernhard Reutner-Fischer 18 年之前
父节点
当前提交
3a59892925
共有 1 个文件被更改,包括 1 次插入1 次删除
  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