diff options
Diffstat (limited to 'src/time/clock_gettime.c')
-rw-r--r-- | src/time/clock_gettime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/clock_gettime.c b/src/time/clock_gettime.c index dab09d50..c345c46e 100644 --- a/src/time/clock_gettime.c +++ b/src/time/clock_gettime.c @@ -3,5 +3,5 @@ int clock_gettime(clockid_t clk, struct timespec *ts) { - return syscall2(__NR_clock_gettime, clk, (long)ts); + return syscall(SYS_clock_gettime, clk, ts); } |