summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTom Cosgrove <tom@cvs.openbsd.org>2006-08-22 19:15:37 +0000
committerTom Cosgrove <tom@cvs.openbsd.org>2006-08-22 19:15:37 +0000
commit34bb5f482ce82ee8611fc5e05a8608a9ebaa2fd4 (patch)
treedf233b2e93236838a35f32d0aa90e0323536a327 /sys
parent7d391faac60ab1d5c9739e96a6e932c1481d8472 (diff)
Use a case-insensitive comparison when checking for bogus SMBIOS
strings. Fixes identification of millert@'s system. ok gwk@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/bios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c
index 7695827ccca..0dc0b84bb64 100644
--- a/sys/arch/i386/i386/bios.c
+++ b/sys/arch/i386/i386/bios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bios.c,v 1.66 2006/07/17 20:31:57 fgsch Exp $ */
+/* $OpenBSD: bios.c,v 1.67 2006/08/22 19:15:36 tom Exp $ */
/*
* Copyright (c) 1997-2001 Michael Shalayeff
@@ -721,7 +721,7 @@ fixstring(char *s)
int i;
for (i= 0; i < sizeof(smbios_uninfo)/sizeof(smbios_uninfo[0]); i++)
- if ((strncmp(s, smbios_uninfo[i], strlen(smbios_uninfo[i])))==0)
+ if ((strncasecmp(s, smbios_uninfo[i], strlen(smbios_uninfo[i])))==0)
return NULL;
/*
* Remove leading and trailing whitespace