aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/bc.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/bc.y b/src/cmd/bc.y
index bdf8fc04..43021b93 100644
--- a/src/cmd/bc.y
+++ b/src/cmd/bc.y
@@ -981,5 +981,5 @@ main(int argc, char **argv)
dup(p[0], 0);
close(p[0]);
close(p[1]);
- execlp("dc", "dc", 0);
+ execlp("dc", "dc", (char*)0);
}