fix the type of CLOCKS_PER_SEC to match new clock_t type
[musl] / src / stat / mknodat.c
index b5687e4..7c97c91 100644 (file)
@@ -3,5 +3,5 @@
 
 int mknodat(int fd, const char *path, mode_t mode, dev_t dev)
 {
-       return syscall4(__NR_mknodat, fd, (long)path, mode, dev & 0xffff);
+       return syscall(SYS_mknodat, fd, path, mode, dev);
 }