fix the type of CLOCKS_PER_SEC to match new clock_t type
[musl] / src / linux / sethostname.c
index c94325e..79a8707 100644 (file)
@@ -3,5 +3,5 @@
 
 int sethostname(const char *name, size_t len)
 {
-       return syscall2(__NR_sethostname, (long)name, len);
+       return syscall(SYS_sethostname, name, len);
 }