From 3a59892925d185dbfd2d3c3b15e1fcfac0848625 Mon Sep 17 00:00:00 2001
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Date: Wed, 9 Jan 2008 17:13:57 +0000
Subject: - Fix compilation: semtimedop has 4 args (and not 6)

---
 libc/misc/sysvipc/sem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'libc/misc/sysvipc')

diff --git a/libc/misc/sysvipc/sem.c b/libc/misc/sysvipc/sem.c
index ce259a10e..51706c58d 100644
--- a/libc/misc/sysvipc/sem.c
+++ b/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
 
-- 
cgit v1.2.3