summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2023-01-08 10:26:37 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2023-01-08 10:26:37 +0000
commit394503aca930c013943adb6f89626794c21baa42 (patch)
tree2cd7bfcf1549bcfeba65db6bb095c717c0ecf21b /sys
parent4fdf558c7db7cd4a99ddf2a1a456ba7f3d25587f (diff)
Use NULL instead 0 for pointer initialization.
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pfkeyv2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfkeyv2.c b/sys/net/pfkeyv2.c
index d18956afce3..4aab05371c2 100644
--- a/sys/net/pfkeyv2.c
+++ b/sys/net/pfkeyv2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkeyv2.c,v 1.254 2022/10/17 14:49:01 mvs Exp $ */
+/* $OpenBSD: pfkeyv2.c,v 1.255 2023/01/08 10:26:36 mvs Exp $ */
/*
* @(#)COPYRIGHT 1.1 (NRL) 17 January 1995
@@ -2604,7 +2604,7 @@ pfkeyv2_sysctl_policydumper(struct ipsec_policy *ipo, void *arg,
unsigned int tableid)
{
struct pfkeyv2_sysctl_walk *w = (struct pfkeyv2_sysctl_walk *)arg;
- void *buffer = 0;
+ void *buffer = NULL;
int i, buflen, error = 0;
if (w->w_where) {