summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorDariusz Swiderski <dms@cvs.openbsd.org>2009-11-26 13:47:03 +0000
committerDariusz Swiderski <dms@cvs.openbsd.org>2009-11-26 13:47:03 +0000
commit8f8ea5f89c891541d416ee42b614d8f284e75186 (patch)
tree833a4644a9d20b0cd58b1729a88f57569627d1a8 /sys/dev/pci
parent86bc25d8b159164509876fed0fe96ce53ba5dbbc (diff)
unbrak previous
ok deraadt@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_em.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index 229004c9f80..d1acfddd3bb 100644
--- a/sys/dev/pci/if_em.c
+++ b/sys/dev/pci/if_em.c
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_em.c,v 1.230 2009/11/26 13:42:33 dms Exp $ */
+/* $OpenBSD: if_em.c,v 1.231 2009/11/26 13:47:02 dms Exp $ */
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
#include <dev/pci/if_em.h>
@@ -1871,6 +1871,7 @@ int
em_activate(struct device *self, int act)
{
struct em_softc *sc = (struct em_softc *)self;
+ struct ifnet *ifp = &sc->interface_data.ac_if;
int rv = 0;
switch (act) {