discard dso descriptors after performing relocations
[musl] / src / linux / mount.c
index 61299d4..83a8db4 100644 (file)
@@ -1,8 +1,7 @@
 #include <sys/mount.h>
-#define SYSCALL_STANDALONE
 #include "syscall.h"
 
 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);
 }