diff options
-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"); |