summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-11-12 07:04:50 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-11-12 07:04:50 +0000
commit405c86da2692c5370b2d83ba088b410552466f99 (patch)
treeb87e61075e7a5df08152f8d20690341eb2050e47 /sbin
parentb7aa438411d15cd1981876116ad218e3ae87bf3b (diff)
Match fs type case-insensetively.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/disklabel/disklabel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c
index a9d8d069df8..b1940ae63d8 100644
--- a/sbin/disklabel/disklabel.c
+++ b/sbin/disklabel/disklabel.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.c,v 1.23 1996/10/04 07:24:58 deraadt Exp $ */
+/* $OpenBSD: disklabel.c,v 1.24 1996/11/12 07:04:49 downsj Exp $ */
/* $NetBSD: disklabel.c,v 1.30 1996/03/14 19:49:24 ghudson Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
-static char rcsid[] = "$OpenBSD: disklabel.c,v 1.23 1996/10/04 07:24:58 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: disklabel.c,v 1.24 1996/11/12 07:04:49 downsj Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -1269,7 +1269,7 @@ getasciilabel(f, lp)
cp = tp, tp = word(cp);
cpp = fstypenames;
for (; cpp < &fstypenames[FSMAXTYPES]; cpp++)
- if ((s = *cpp) && !strcmp(s, cp)) {
+ if ((s = *cpp) && !strcasecmp(s, cp)) {
pp->p_fstype = cpp - fstypenames;
goto gottype;
}