about summary refs log tree commit diff
path: root/src/linux/umount.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/umount.c')
-rw-r--r--src/linux/umount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/umount.c b/src/linux/umount.c
index f709b33a..fb9b5e73 100644
--- a/src/linux/umount.c
+++ b/src/linux/umount.c
@@ -3,5 +3,5 @@
 
 int umount(const char *special)
 {
-	return syscall2(__NR_umount2, (long)special, 0);
+	return syscall(SYS_umount2, special, 0);
 }