aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rio
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-07-13 21:50:47 +0000
committerrsc <devnull@localhost>2005-07-13 21:50:47 +0000
commitc44f783b4bd6455f03afd6fbcecd139641986f6b (patch)
treefa924724e7a933467527325bbca65a331dcfc3bc /src/cmd/rio
parent7635ebf65a09a3524a8c6de6f8bc90116640220e (diff)
downloadplan9port-c44f783b4bd6455f03afd6fbcecd139641986f6b.tar.gz
plan9port-c44f783b4bd6455f03afd6fbcecd139641986f6b.tar.bz2
plan9port-c44f783b4bd6455f03afd6fbcecd139641986f6b.zip
nil
Diffstat (limited to 'src/cmd/rio')
-rw-r--r--src/cmd/rio/menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/rio/menu.c b/src/cmd/rio/menu.c
index d7b60238..21195d2e 100644
--- a/src/cmd/rio/menu.c
+++ b/src/cmd/rio/menu.c
@@ -204,12 +204,12 @@ spawn(ScreenInfo *s)
signal(SIGTERM, SIG_DFL);
signal(SIGHUP, SIG_DFL);
if(termprog != NULL){
- execl(shell, shell, "-c", termprog, nil);
+ execl(shell, shell, "-c", termprog, (char*)0);
fprintf(stderr, "rio: exec %s", shell);
perror(" failed");
}
- execlp("9term", "9term", scrolling ? "-ws" : "-w", nil);
- execlp("xterm", "xterm", "-ut", nil);
+ execlp("9term", "9term", scrolling ? "-ws" : "-w", (char*)0);
+ execlp("xterm", "xterm", "-ut", (char*)0);
perror("rio: exec 9term/xterm failed");
exit(1);
}