From bd8e5e2527cde662591889c38714fa48936256a3 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Mon, 4 Feb 2002 22:11:45 +0000 Subject: [PATCH] Fixed diskspace check for FreeBSD --- lib/mbfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mbfile.c b/lib/mbfile.c index a8035518..fc1d283f 100644 --- a/lib/mbfile.c +++ b/lib/mbfile.c @@ -322,7 +322,7 @@ int diskfree(int needed) */ if ((strncmp(mntbuf[i].f_fstypename, (char *)"kernfs", 6)) && (strncmp(mntbuf[i].f_fstypename, (char *)"procfs", 6)) && - (strncmp(mntbuf[i].f_fsfromname, (char *)"/dev/fd", 7)) && + (strncmp(mntbuf[i].f_mntfromname, (char *)"/dev/fd", 7)) && (strncmp(mntbuf[i].f_fstypename, (char *)"cd9660", 6)) && (strncmp(mntbuf[i].f_fstypename, (char *)"msdos", 5)) && (statfs(mntbuf[i].f_mntonname, &sfs) == 0)) {