global cleanup to use the new syscall interface
[musl] / src / time / clock_gettime.c
index dab09d5..c345c46 100644 (file)
@@ -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);
 }