summaryrefslogtreecommitdiffstats
path: root/bin/sh/parser.c
diff options
context:
space:
mode:
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 da6defd..3f9732c 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;
OpenPOWER on IntegriCloud