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