aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/hist.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/hist.c
parentf462256db27f827590a5867e046d0bbbb8eb368a (diff)
downloadplan9port-a8ec4910fd7d67df09ca79179dff8a344cc13cf2.tar.gz
plan9port-a8ec4910fd7d67df09ca79179dff8a344cc13cf2.tar.bz2
plan9port-a8ec4910fd7d67df09ca79179dff8a344cc13cf2.zip
apple
Diffstat (limited to 'src/cmd/hist.c')
-rw-r--r--src/cmd/hist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/hist.c b/src/cmd/hist.c
index 6fa0da9f..46fd3f8a 100644
--- a/src/cmd/hist.c
+++ b/src/cmd/hist.c
@@ -144,7 +144,7 @@ ysearch(char *file)
print("diff %s %s\n", pair[toggle^1], pair[toggle]);
switch(rfork(RFFDG|RFPROC)){
case 0:
- execlp("diff", "diff", diffb ? "-cb" : "-c", pair[toggle], pair[toggle ^ 1], 0);
+ execlp("diff", "diff", diffb ? "-cb" : "-c", pair[toggle], pair[toggle ^ 1], (char*)0);
fprint(2, "can't exec diff: %r\n");
exits(0);
case -1: