From: Rich Felker Date: Sat, 9 Nov 2013 22:54:20 +0000 (-0500) Subject: fix harmless inconsistency in semtimedop X-Git-Tag: v0.9.15~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35cf8b3e7303ed52638be600a0ab7d0ba35eb594;p=musl 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. --- 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);