aboutsummaryrefslogtreecommitdiff
path: root/sysutils/fusefs-fusexmp_fh/files/patch-lib_mount_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/fusefs-fusexmp_fh/files/patch-lib_mount_util.c')
-rw-r--r--sysutils/fusefs-fusexmp_fh/files/patch-lib_mount_util.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/fusefs-fusexmp_fh/files/patch-lib_mount_util.c b/sysutils/fusefs-fusexmp_fh/files/patch-lib_mount_util.c
new file mode 100644
index 000000000000..b81a34084aee
--- /dev/null
+++ b/sysutils/fusefs-fusexmp_fh/files/patch-lib_mount_util.c
@@ -0,0 +1,23 @@
+--- lib/mount_util.c.orig 2008-02-04 00:23:30.000000000 -0500
++++ lib/mount_util.c 2008-02-04 00:23:58.000000000 -0500
+@@ -224,20 +224,3 @@
+ }
+ return 0;
+ }
+-
+-int fuse_mnt_check_fuseblk(void)
+-{
+- char buf[256];
+- FILE *f = fopen("/proc/filesystems", "r");
+- if (!f)
+- return 1;
+-
+- while (fgets(buf, sizeof(buf), f))
+- if (strstr(buf, "fuseblk\n")) {
+- fclose(f);
+- return 1;
+- }
+-
+- fclose(f);
+- return 0;
+-}