freebsd-ports/sysutils/fusefs-libs/files/patch-lib_mount_util.c
Vanilla I. Shu 856d74c9be Upgrade to 2.7.2.
PR:		ports/120246
Submitted by:	maintainer
2008-02-04 06:04:53 +00:00

23 lines
421 B
C

--- 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;
-}