fix the type of CLOCKS_PER_SEC to match new clock_t type
[musl] / src / linux / sysinfo.c
index 9866947..2dbd0ad 100644 (file)
@@ -1,9 +1,8 @@
-#define SYSCALL_STANDALONE
 #include "syscall.h"
 
 struct sysinfo;
 
 int sysinfo(struct sysinfo *info)
 {
-       return syscall1(__NR_sysinfo, (long)info);
+       return syscall(SYS_sysinfo, info);
 }