From 35cf8b3e7303ed52638be600a0ab7d0ba35eb594 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 9 Nov 2013 17:54:20 -0500 Subject: 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. --- src/ipc/semtimedop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.1