From 20c0ae1bfbfcfd0aa5e91a09604dd6ea636697ce Mon Sep 17 00:00:00 2001 From: mar Date: Wed, 2 May 1990 13:12:20 +0000 Subject: [PATCH] punt cistrcmp(); update FS types --- lib/nfsparttype.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/nfsparttype.c b/lib/nfsparttype.c index 9f148f37..8d180941 100644 --- a/lib/nfsparttype.c +++ b/lib/nfsparttype.c @@ -33,11 +33,10 @@ struct pair { static struct pair fs_names[] = { { MR_FS_STUDENT, "Student" }, - { MR_FS_FACULTY, "Faculty/Project" }, { MR_FS_FACULTY, "Faculty" }, - { MR_FS_FACULTY, "Project" }, { MR_FS_STAFF, "Staff" }, { MR_FS_MISC, "Other" }, + { MR_FS_GROUPQUOTA, "GroupQuota" }, /* Insert new entries before the 0,0 pair */ { 0, 0 }, }; @@ -105,7 +104,7 @@ parse_filesys_type(fs_type_name) t = strtrim(temp); /* nuke leading and trailing whitespace */ for (pp = fs_names; pp->type; pp++) { - if (cistrcmp(pp->name, t) == 0) { + if (strcasecmp(pp->name, t) == 0) { flags |= pp->type; break; } -- 2.45.2