about summary refs log tree commit diff
path: root/src/ipc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc')
-rw-r--r--src/ipc/semtimedop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/semtimedop.c b/src/ipc/semtimedop.c
index a3b511b6..b0c4cf9f 100644
--- a/src/ipc/semtimedop.c
+++ b/src/ipc/semtimedop.c
@@ -5,7 +5,7 @@
 
 int semtimedop(int id, struct sembuf *buf, size_t n, const struct timespec *ts)
 {
-#ifdef SYS_semop
+#ifdef SYS_semtimedop
 	return syscall(SYS_semtimedop, id, buf, n, ts);
 #else
 	return syscall(SYS_ipc, IPCOP_semtimedop, id, n, 0, buf, ts);