summaryrefslogtreecommitdiff
path: root/src/ipc
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-11-09 17:54:20 -0500
committerRich Felker <dalias@aerifal.cx>2013-11-09 17:54:20 -0500
commit35cf8b3e7303ed52638be600a0ab7d0ba35eb594 (patch)
treeef0426b4a3a3bf12b8f27d1b2f0fed2d7288a202 /src/ipc
parent4571f9f856d8d6c1643b516c27f861dbab66ec00 (diff)
downloadmusl-35cf8b3e7303ed52638be600a0ab7d0ba35eb594.tar.gz
fix harmless inconsistency in semtimedop
this should not matter since the reality is that either all the sysv sem syscalls are individual syscalls, or all of them are multiplexed on the SYS_ipc syscall (depending on arch). but best to be consistent anyway.
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);