aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acid
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-11-28 00:43:50 +0000
committerrsc <devnull@localhost>2005-11-28 00:43:50 +0000
commit4b016109374fbd90fe907bc0271db75c436afe8a (patch)
tree3c24f3a02dbab872f7c679760bb9d39114c8b098 /src/cmd/acid
parent7468541674bc7bfe8c741a6ea997faab1b7b78ba (diff)
downloadplan9port-4b016109374fbd90fe907bc0271db75c436afe8a.tar.gz
plan9port-4b016109374fbd90fe907bc0271db75c436afe8a.tar.bz2
plan9port-4b016109374fbd90fe907bc0271db75c436afe8a.zip
fixes
Diffstat (limited to 'src/cmd/acid')
-rw-r--r--src/cmd/acid/proc.c4
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");