aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/ed.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-07-13 21:34:11 +0000
committerrsc <devnull@localhost>2005-07-13 21:34:11 +0000
commita8ec4910fd7d67df09ca79179dff8a344cc13cf2 (patch)
tree9dbb20f00bd6ec3a3fee026473f43e85f49f5c77 /src/cmd/ed.c
parentf462256db27f827590a5867e046d0bbbb8eb368a (diff)
downloadplan9port-a8ec4910fd7d67df09ca79179dff8a344cc13cf2.tar.gz
plan9port-a8ec4910fd7d67df09ca79179dff8a344cc13cf2.tar.bz2
plan9port-a8ec4910fd7d67df09ca79179dff8a344cc13cf2.zip
apple
Diffstat (limited to 'src/cmd/ed.c')
-rw-r--r--src/cmd/ed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/ed.c b/src/cmd/ed.c
index f44acb06..60ba83ca 100644
--- a/src/cmd/ed.c
+++ b/src/cmd/ed.c
@@ -929,7 +929,7 @@ callunix(void)
*p = 0;
pid = fork();
if(pid == 0) {
- execlp("rc", "rc", "-c", buf, 0);
+ execlp("rc", "rc", "-c", buf, (char*)0);
sysfatal("exec failed: %r");
exits("execl failed");
}