summaryrefslogtreecommitdiff
path: root/sysutils/fusefs-libs/files/patch-lib_mount_util.c
blob: b81a34084aee4c2029fb4bf2488dfeeb789d5dd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
-}