artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfce157
)
Use NULL instead 0 for pointer initialization.
author
mvs
<mvs@openbsd.org>
Sun, 8 Jan 2023 10:26:36 +0000
(10:26 +0000)
committer
mvs
<mvs@openbsd.org>
Sun, 8 Jan 2023 10:26:36 +0000
(10:26 +0000)
sys/net/pfkeyv2.c
patch
|
blob
|
history
diff --git
a/sys/net/pfkeyv2.c
b/sys/net/pfkeyv2.c
index
d18956a
..
4aab053
100644
(file)
--- a/
sys/net/pfkeyv2.c
+++ b/
sys/net/pfkeyv2.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: pfkeyv2.c,v 1.25
4 2022/10/17 14:49:01
mvs Exp $ */
+/* $OpenBSD: pfkeyv2.c,v 1.25
5 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) {