summaryrefslogtreecommitdiffstats
path: root/sys/dev/vx/if_vx_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/vx/if_vx_pci.c')
-rw-r--r--sys/dev/vx/if_vx_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vx/if_vx_pci.c b/sys/dev/vx/if_vx_pci.c
index 201b4ea..ff4f1fb 100644
--- a/sys/dev/vx/if_vx_pci.c
+++ b/sys/dev/vx/if_vx_pci.c
@@ -151,7 +151,7 @@ vx_pci_attach(
vxintr, sc, &sc->vx_intrhand))
goto bad;
- if (vxattach(sc) == 0) {
+ if (vxattach(dev) == 0) {
goto bad;
}
OpenPOWER on IntegriCloud