projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix various bugs in path and error handling in execvp/fexecve
[musl]
/
src
/
linux
/
mount.c
diff --git
a/src/linux/mount.c
b/src/linux/mount.c
index
61299d4
..
83a8db4
100644
(file)
--- a/
src/linux/mount.c
+++ b/
src/linux/mount.c
@@
-1,8
+1,7
@@
#include <sys/mount.h>
#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)
{
#include "syscall.h"
int mount(const char *special, const char *dir, const char *fstype, unsigned long flags, const void *data)
{
- return syscall
5(__NR_mount, (long)special, (long)dir, (long)fstype, flags, (long)
data);
+ return syscall
(SYS_mount, special, dir, fstype, flags,
data);
}
}