summaryrefslogtreecommitdiff
path: root/usr.bin/make/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/compat.c')
-rw-r--r--usr.bin/make/compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/compat.c b/usr.bin/make/compat.c
index 2ab841622c49..d57b8039ae4c 100644
--- a/usr.bin/make/compat.c
+++ b/usr.bin/make/compat.c
@@ -252,7 +252,7 @@ Compat_RunCommand(char *cmd, GNode *gn)
doit = FALSE;
cmdNode = Lst_Member(&gn->commands, cmd);
- cmdStart = Buf_Peel(Var_Subst(NULL, cmd, gn, FALSE));
+ cmdStart = Buf_Peel(Var_Subst(cmd, gn, FALSE));
/*
* brk_string will return an argv with a NULL in av[0], thus causing