summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoremax <emax@FreeBSD.org>2004-11-19 18:54:54 +0000
committeremax <emax@FreeBSD.org>2004-11-19 18:54:54 +0000
commit9f3a10cb66b4c3253727b2fc6b4a482de75ba1f2 (patch)
tree73c6142b029d9fad260d23ec238580426ab89d12 /sys
parent74d2e3d5a7a02dfd602dd98076238570138e5447 (diff)
downloadFreeBSD-src-9f3a10cb66b4c3253727b2fc6b4a482de75ba1f2.zip
FreeBSD-src-9f3a10cb66b4c3253727b2fc6b4a482de75ba1f2.tar.gz
Correct typo. Return ENXIO instead of EIO.
Diffstat (limited to 'sys')
-rw-r--r--sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c b/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
index fc1ead3..96ac0f5 100644
--- a/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
+++ b/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
@@ -597,7 +597,7 @@ bt3c_pccard_match(device_t dev)
pp = pccard_product_lookup(dev, bt3c_pccard_products,
sizeof(bt3c_pccard_products[0]), NULL);
if (pp == NULL)
- return (EIO);
+ return (ENXIO);
device_set_desc(dev, pp->pp_name);
OpenPOWER on IntegriCloud