diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-11-09 17:54:20 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-11-09 17:54:20 -0500 |
commit | 35cf8b3e7303ed52638be600a0ab7d0ba35eb594 (patch) | |
tree | ef0426b4a3a3bf12b8f27d1b2f0fed2d7288a202 /src | |
parent | 4571f9f856d8d6c1643b516c27f861dbab66ec00 (diff) | |
download | musl-35cf8b3e7303ed52638be600a0ab7d0ba35eb594.tar.gz musl-35cf8b3e7303ed52638be600a0ab7d0ba35eb594.tar.bz2 musl-35cf8b3e7303ed52638be600a0ab7d0ba35eb594.tar.xz musl-35cf8b3e7303ed52638be600a0ab7d0ba35eb594.zip |
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')
-rw-r--r-- | src/ipc/semtimedop.c | 2 |
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); |