summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-04 05:08:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-04 05:08:56 +0000
commitbd87afc06722af632f27eade876798041a856533 (patch)
treecbf8870b71d927c671190b114362e24e196a2af1
parenta8cba8a9d09a07f140638f6c93ddadc85d6406e2 (diff)
when it does not compile we KNOW it was not tested. come on
-rw-r--r--sys/dev/pci/if_vic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_vic.c b/sys/dev/pci/if_vic.c
index 99bfd7660df..20d5043e38f 100644
--- a/sys/dev/pci/if_vic.c
+++ b/sys/dev/pci/if_vic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vic.c,v 1.46 2007/05/04 01:52:51 reyk Exp $ */
+/* $OpenBSD: if_vic.c,v 1.47 2007/05/04 05:08:55 deraadt Exp $ */
/*
* Copyright (c) 2006 Reyk Floeter <reyk@openbsd.org>
@@ -1184,7 +1184,7 @@ vic_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
if (error == ENETRESET) {
if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) ==
(IFF_UP | IFF_RUNNING))
- vic_iff(ifp);
+ vic_iff(ifp->if_softc);
error = 0;
}