diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2024-11-05 18:59:00 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2024-11-05 18:59:00 +0000 |
commit | cf732b4dbb21d38c90af004a3cf93f52b5b9e3fe (patch) | |
tree | 4b73eb10ab3c66286c94869ca0798a37c95c637d /sys/dev/ic/re.c | |
parent | 80a6a180589321a8933ead88fa66f53793ffc19a (diff) |
The first field of struct cfdriver is a pointer. Put NULL rather than 0 here.
Diffstat (limited to 'sys/dev/ic/re.c')
-rw-r--r-- | sys/dev/ic/re.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c index a8967f686df..17d783653b0 100644 --- a/sys/dev/ic/re.c +++ b/sys/dev/ic/re.c @@ -1,4 +1,4 @@ -/* $OpenBSD: re.c,v 1.218 2024/08/12 06:47:11 dlg Exp $ */ +/* $OpenBSD: re.c,v 1.219 2024/11/05 18:58:59 miod Exp $ */ /* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */ /* * Copyright (c) 1997, 1998-2003 @@ -205,7 +205,7 @@ void re_kstat_detach(struct rl_softc *); void in_delayed_cksum(struct mbuf *); struct cfdriver re_cd = { - 0, "re", DV_IFNET + NULL, "re", DV_IFNET }; #define EE_SET(x) \ |