global cleanup to use the new syscall interface
[musl] / src / linux / sysinfo.c
index c61b7aa..2dbd0ad 100644 (file)
@@ -4,5 +4,5 @@ struct sysinfo;
 
 int sysinfo(struct sysinfo *info)
 {
-       return syscall1(__NR_sysinfo, (long)info);
+       return syscall(SYS_sysinfo, info);
 }