summaryrefslogtreecommitdiff
path: root/recipes/util-linux/files/umount.diff
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/util-linux/files/umount.diff')
-rw-r--r--recipes/util-linux/files/umount.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/util-linux/files/umount.diff b/recipes/util-linux/files/umount.diff
new file mode 100644
index 0000000000..78330789ef
--- /dev/null
+++ b/recipes/util-linux/files/umount.diff
@@ -0,0 +1,19 @@
+*** util-linux-2.12r/mount/umount.c.orig 2005-09-10 20:07:38.000000000 +0200
+--- util-linux-2.12r/mount/umount.c 2006-06-07 21:14:04.000000000 +0200
+***************
+*** 40,46 ****
+ #include <linux/unistd.h>
+ #ifdef __NR_umount2
+
+! static int umount2(const char *path, int flags);
+
+ _syscall2(int, umount2, const char *, path, int, flags);
+
+--- 40,46 ----
+ #include <linux/unistd.h>
+ #ifdef __NR_umount2
+
+! int umount2(const char *path, int flags);
+
+ _syscall2(int, umount2, const char *, path, int, flags);
+