summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_em.c
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2009-08-13 14:24:46 +0000
committerjasper <jasper@openbsd.org>2009-08-13 14:24:46 +0000
commite4a2e22ce6a709acc4cebdc45551b16d450fab9f (patch)
treed92de33089208f1b302bb6acf1485fe699730edf /sys/dev/pci/if_em.c
parentAllow tcpbench to bind to a different rdomain. (diff)
downloadwireguard-openbsd-e4a2e22ce6a709acc4cebdc45551b16d450fab9f.tar.xz
wireguard-openbsd-e4a2e22ce6a709acc4cebdc45551b16d450fab9f.zip
- consistify cfdriver for the ethernet drivers (0 -> NULL)
ok dlg@
Diffstat (limited to 'sys/dev/pci/if_em.c')
-rw-r--r--sys/dev/pci/if_em.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index c15a6be13b7..56c4d5d69b8 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.219 2009/08/12 20:02:42 dlg Exp $ */
+/* $OpenBSD: if_em.c,v 1.220 2009/08/13 14:24:47 jasper Exp $ */
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
#include <dev/pci/if_em.h>
@@ -223,7 +223,7 @@ struct cfattach em_ca = {
};
struct cfdriver em_cd = {
- 0, "em", DV_IFNET
+ NULL, "em", DV_IFNET
};
static int em_smart_pwr_down = FALSE;