summaryrefslogtreecommitdiffstats
path: root/sys/dev/an/if_an_pccard.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/an/if_an_pccard.c')
-rw-r--r--sys/dev/an/if_an_pccard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/an/if_an_pccard.c b/sys/dev/an/if_an_pccard.c
index b475265..cfb20f3 100644
--- a/sys/dev/an/if_an_pccard.c
+++ b/sys/dev/an/if_an_pccard.c
@@ -145,7 +145,7 @@ an_pccard_attach(device_t dev)
sc->an_btag = rman_get_bustag(sc->port_res);
sc->an_dev = dev;
- error = an_attach(sc, device_get_unit(dev), flags);
+ error = an_attach(sc, flags);
if (error)
goto fail;
OpenPOWER on IntegriCloud