git: ec6e7677a0db - main - inpcb: Use NULL for VNET_SYSINIT's last arg, which is a pointer type
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Dec 2024 17:14:50 UTC
The branch main has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=ec6e7677a0dbfbcdb4b740b28a1105256f1fc93e
commit ec6e7677a0dbfbcdb4b740b28a1105256f1fc93e
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2024-12-09 17:14:08 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2024-12-09 17:14:08 +0000
inpcb: Use NULL for VNET_SYSINIT's last arg, which is a pointer type
MFC after: 3 days
---
sys/netinet/in_pcb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index 1309d19121cd..87489e8f457c 100644
--- a/sys/netinet/in_pcb.c
+++ b/sys/netinet/in_pcb.c
@@ -232,7 +232,7 @@ in_pcbhashseed_init(void)
V_in_pcbhashseed = arc4random();
}
VNET_SYSINIT(in_pcbhashseed_init, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST,
- in_pcbhashseed_init, 0);
+ in_pcbhashseed_init, NULL);
#ifdef INET
VNET_DEFINE_STATIC(int, connect_inaddr_wild) = 1;