summaryrefslogtreecommitdiffstats
path: root/usr.bin/awk/parse.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2020-06-10 21:02:33 +0000
committermillert <millert@openbsd.org>2020-06-10 21:02:33 +0000
commitc0fa36112e30069c2e56b7e03b65d7f91b73780f (patch)
tree31bda1b95ff20d2e5108264182112dedffbd3d66 /usr.bin/awk/parse.c
parentUpdate awk to Jun 17, 2019 version. (diff)
downloadwireguard-openbsd-c0fa36112e30069c2e56b7e03b65d7f91b73780f.tar.xz
wireguard-openbsd-c0fa36112e30069c2e56b7e03b65d7f91b73780f.zip
Update awk to Sep 10, 2019 version.
Diffstat (limited to 'usr.bin/awk/parse.c')
-rw-r--r--usr.bin/awk/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/awk/parse.c b/usr.bin/awk/parse.c
index 8720d13d031..9060384027c 100644
--- a/usr.bin/awk/parse.c
+++ b/usr.bin/awk/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.7 2017/10/09 14:51:31 deraadt Exp $ */
+/* $OpenBSD: parse.c,v 1.8 2020/06/10 21:02:33 millert Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
@@ -260,7 +260,7 @@ int isarg(const char *s) /* is s in argument list for current function? */
Node *p = arglist;
int n;
- for (n = 0; p != 0; p = p->nnext, n++)
+ for (n = 0; p != NULL; p = p->nnext, n++)
if (strcmp(((Cell *)(p->narg[0]))->nval, s) == 0)
return n;
return -1;