diff options
author | rsc <devnull@localhost> | 2005-11-28 00:43:50 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-11-28 00:43:50 +0000 |
commit | 4b016109374fbd90fe907bc0271db75c436afe8a (patch) | |
tree | 3c24f3a02dbab872f7c679760bb9d39114c8b098 /src/cmd/acid | |
parent | 7468541674bc7bfe8c741a6ea997faab1b7b78ba (diff) | |
download | plan9port-4b016109374fbd90fe907bc0271db75c436afe8a.tar.gz plan9port-4b016109374fbd90fe907bc0271db75c436afe8a.tar.bz2 plan9port-4b016109374fbd90fe907bc0271db75c436afe8a.zip |
fixes
Diffstat (limited to 'src/cmd/acid')
-rw-r--r-- | src/cmd/acid/proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/acid/proc.c b/src/cmd/acid/proc.c index 298e4351..034af991 100644 --- a/src/cmd/acid/proc.c +++ b/src/cmd/acid/proc.c @@ -84,8 +84,8 @@ nproc(char **argv) open("/dev/tty", OREAD); open("/dev/tty", OWRITE); open("/dev/tty", OWRITE); - exec(argv[0], argv); - fatal("new: exec %s: %r"); + execv(argv[0], argv); + fatal("new: exec %s: %r", argv[0]); default: install(pid); msg(pid, "attached"); |