summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2021-01-22 16:10:01 +0000
committerflorian <florian@openbsd.org>2021-01-22 16:10:01 +0000
commit3c570657c67ecf49d8a9b9ff73f60f2ff0318ed6 (patch)
treed86517eeece8eb8ab91581c3bc30a2f4cface8a8
parentAvoid NULL deref on BIO_new{_mem_buf,}() failure. (diff)
downloadwireguard-openbsd-3c570657c67ecf49d8a9b9ff73f60f2ff0318ed6.tar.xz
wireguard-openbsd-3c570657c67ecf49d8a9b9ff73f60f2ff0318ed6.zip
The correct spelling is NULL.
-rw-r--r--usr.sbin/ndp/ndp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c
index adf56c51acc..a4e4a3cbc74 100644
--- a/usr.sbin/ndp/ndp.c
+++ b/usr.sbin/ndp/ndp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ndp.c,v 1.100 2021/01/21 19:12:13 florian Exp $ */
+/* $OpenBSD: ndp.c,v 1.101 2021/01/22 16:10:01 florian Exp $ */
/* $KAME: ndp.c,v 1.101 2002/07/17 08:46:33 itojun Exp $ */
/*
@@ -204,7 +204,7 @@ main(int argc, char *argv[])
if (argc != 0) {
usage();
}
- dump(0, mode == 'c');
+ dump(NULL, mode == 'c');
break;
case 'd':
if (argc != 0) {