aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/parser.c
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-04-09 20:05:39 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-04-09 20:05:39 +0000
commit74136dc30084bec90b02f3a4183bec0fe7a44afe (patch)
tree57723469d19916476637a2e5fe0d7a63f1beaaa6 /bin/sh/parser.c
parent62b10973b18e281af011897c3cf87576edbf9728 (diff)
Notes
Diffstat (limited to 'bin/sh/parser.c')
-rw-r--r--bin/sh/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c
index da6defdb2c79..3f9732cbbff3 100644
--- a/bin/sh/parser.c
+++ b/bin/sh/parser.c
@@ -628,7 +628,7 @@ simplecmd(union node **rpp, union node *redir)
/* If we don't have any redirections already, then we must reset */
/* rpp to be the address of the local redir variable. */
- if (redir == 0)
+ if (redir == NULL)
rpp = &redir;
args = NULL;