umount: add new syscall wrapper for umount
authorAlan Cox <alan@linux.intel.com>
Sun, 22 Oct 2017 14:14:23 +0000 (15:14 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 22 Oct 2017 14:14:23 +0000 (15:14 +0100)
Library/libs/umount.c [new file with mode: 0644]

diff --git a/Library/libs/umount.c b/Library/libs/umount.c
new file mode 100644 (file)
index 0000000..93643fe
--- /dev/null
@@ -0,0 +1,7 @@
+#include <syscalls.h>
+#include <sys/mount.h>
+
+int umount(const char *dev)
+{
+    return _umount(dev, 0);
+}