Use strcasecmp() from libkern.

This commit is contained in:
Pawel Jakub Dawidek 2007-04-06 11:21:01 +00:00
parent 2663c8855e
commit 93caf77f95
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168423

View File

@ -131,8 +131,8 @@ ndis_devcompare(bustype, t, dev)
return(FALSE);
while(t->ndis_name != NULL) {
if (ndis_strcasecmp(vendstr, t->ndis_vid) == 0 &&
ndis_strcasecmp(prodstr, t->ndis_did) == 0) {
if (strcasecmp(vendstr, t->ndis_vid) == 0 &&
strcasecmp(prodstr, t->ndis_did) == 0) {
device_set_desc(dev, t->ndis_name);
return(TRUE);
}
@ -237,8 +237,8 @@ ndis_attach_pccard(dev)
return(error);
while(t->ndis_name != NULL) {
if (ndis_strcasecmp(vendstr, t->ndis_vid) == 0 &&
ndis_strcasecmp(prodstr, t->ndis_did) == 0)
if (strcasecmp(vendstr, t->ndis_vid) == 0 &&
strcasecmp(prodstr, t->ndis_did) == 0)
break;
t++;
devidx++;