df: add case for MFSv3

. fix for FSes mounted with '-t mfs' syntax
This commit is contained in:
Ben Gras 2011-11-14 22:18:31 +00:00
parent 5c00743626
commit 0811b47a71

View file

@ -185,7 +185,7 @@ static void readmtab(const char *type)
devname[0] != 0) { devname[0] != 0) {
if (strcmp(type, "dev") == 0) { if (strcmp(type, "dev") == 0) {
if (strcmp(version, "1") != 0 && strcmp(version, "2") != 0 && if (strcmp(version, "1") != 0 && strcmp(version, "2") != 0 &&
strcmp(version, "3")) strcmp(version, "3") && strcmp(version, "MFSv3"))
continue; continue;
} else { } else {
if (strcmp(type, version) != 0) continue; if (strcmp(type, version) != 0) continue;