From dcea5f0bc99280901abe604e4c81bb77a4d2ccdc Mon Sep 17 00:00:00 2001 From: mvs Date: Sun, 8 Jan 2023 10:26:36 +0000 Subject: [PATCH] Use NULL instead 0 for pointer initialization. --- sys/net/pfkeyv2.c | 4 ++-- 1 file 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) { -- 2.20.1