aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenlei Huang <zlei@FreeBSD.org>2024-12-09 17:14:08 +0000
committerZhenlei Huang <zlei@FreeBSD.org>2024-12-15 02:20:54 +0000
commit005b6caf268c959e90d838a318f384656923977d (patch)
tree7e6a9c8e6aa154e4ce108675f2884f8558b5cb42
parent3c3a622a75436bf3448bfa65346f9998ae4d21a5 (diff)
netinet: Use NULL for VNET_SYSINIT's last arg, which is a pointer type
MFC after: 3 days (cherry picked from commit ac51711cab6e55a99ee0a565fe0ae30c0305c854)
-rw-r--r--sys/netinet/if_ether.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index a14671528f18..0e4f28a06342 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -1508,7 +1508,7 @@ vnet_arp_init(void)
#endif
}
VNET_SYSINIT(vnet_arp_init, SI_SUB_PROTO_DOMAIN, SI_ORDER_SECOND,
- vnet_arp_init, 0);
+ vnet_arp_init, NULL);
#ifdef VIMAGE
/*