if returning errno value directly from a syscall, we need to negate it.
[musl] / src / linux / sysinfo.c
1 #include "syscall.h"
2
3 struct sysinfo;
4
5 int sysinfo(struct sysinfo *info)
6 {
7         return syscall1(__NR_sysinfo, (long)info);
8 }