global cleanup to use the new syscall interface
[musl] / src / linux / mount.c
index 8e3cc12..83a8db4 100644 (file)
@@ -3,5 +3,5 @@
 
 int mount(const char *special, const char *dir, const char *fstype, unsigned long flags, const void *data)
 {
-       return syscall5(__NR_mount, (long)special, (long)dir, (long)fstype, flags, (long)data);
+       return syscall(SYS_mount, special, dir, fstype, flags, data);
 }