summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2007-04-06 11:21:01 +0000
committerpjd <pjd@FreeBSD.org>2007-04-06 11:21:01 +0000
commit4d6f2c154187b12891e4d11ac929f03ffa5d1862 (patch)
tree19a536274b163fb8bd09f013f293e931e50370a2 /sys/dev
parenta27cf626d623b3403be9f2363d7427d3cf724ea8 (diff)
downloadFreeBSD-src-4d6f2c154187b12891e4d11ac929f03ffa5d1862.zip
FreeBSD-src-4d6f2c154187b12891e4d11ac929f03ffa5d1862.tar.gz
Use strcasecmp() from libkern.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/if_ndis/if_ndis_pccard.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/if_ndis/if_ndis_pccard.c b/sys/dev/if_ndis/if_ndis_pccard.c
index b0846e8..4eab5d9 100644
--- a/sys/dev/if_ndis/if_ndis_pccard.c
+++ b/sys/dev/if_ndis/if_ndis_pccard.c
@@ -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++;
OpenPOWER on IntegriCloud