util-linux/util-linux-2.12q-mount_umount2_not_static.patch

14 lines
356 B
Diff

Index: mount/umount.c
===================================================================
--- mount/umount.c.orig
+++ mount/umount.c
@@ -38,7 +38,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);