about summary refs log tree commit diff
path: root/src/time/clock_settime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/clock_settime.c')
-rw-r--r--src/time/clock_settime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/clock_settime.c b/src/time/clock_settime.c
index a80b94e1..66b8162d 100644
--- a/src/time/clock_settime.c
+++ b/src/time/clock_settime.c
@@ -3,5 +3,5 @@
 
 int clock_settime(clockid_t clk, const struct timespec *ts)
 {
-	return syscall2(__NR_clock_settime, clk, (long)ts);
+	return syscall(SYS_clock_settime, clk, ts);
 }