projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fmemopen: fix eof handling, hopefully right this time
[oweals/musl.git]
/
src
/
linux
/
umount.c
diff --git
a/src/linux/umount.c
b/src/linux/umount.c
index c35f994d99914381ddad1b1ef7b6532e21d60c3c..fb9b5e73915d051dc197ede30b86cd79d661cb40 100644
(file)
--- a/
src/linux/umount.c
+++ b/
src/linux/umount.c
@@
-1,8
+1,7
@@
#include <sys/mount.h>
-#define SYSCALL_STANDALONE
#include "syscall.h"
int umount(const char *special)
{
- return syscall
1(__NR_umount, (long)special
);
+ return syscall
(SYS_umount2, special, 0
);
}