3
0
forked from pool/util-linux
util-linux/util-linux-2.12q-umount2-not-static.patch

12 lines
261 B
Diff
Raw Normal View History

--- mount/umount.c
+++ mount/umount.c
@@ -40,7 +40,7 @@
#include <linux/unistd.h>
#ifdef __NR_umount2
-static int umount2(const char *path, int flags);
+int umount2(const char *path, int flags);
_syscall2(int, umount2, const char *, path, int, flags);