aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rio
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-07-13 21:27:52 +0000
committerrsc <devnull@localhost>2005-07-13 21:27:52 +0000
commitbd18885d961fcabbd2ab39f017dc87fa6d090c94 (patch)
tree2be32222ecec98c99698968559dd8b15d244bca9 /src/cmd/rio
parent82908b6586f082c787bad13093739b9924cac438 (diff)
downloadplan9port-bd18885d961fcabbd2ab39f017dc87fa6d090c94.tar.gz
plan9port-bd18885d961fcabbd2ab39f017dc87fa6d090c94.tar.bz2
plan9port-bd18885d961fcabbd2ab39f017dc87fa6d090c94.zip
sentinel
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 9c321e53..d7b60238 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, 0);
+ execl(shell, shell, "-c", termprog, nil);
fprintf(stderr, "rio: exec %s", shell);
perror(" failed");
}
- execlp("9term", "9term", scrolling ? "-ws" : "-w", 0);
- execlp("xterm", "xterm", "-ut", 0);
+ execlp("9term", "9term", scrolling ? "-ws" : "-w", nil);
+ execlp("xterm", "xterm", "-ut", nil);
perror("rio: exec 9term/xterm failed");
exit(1);
}