tfixes - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 4b016109374fbd90fe907bc0271db75c436afe8a
(DIR) parent 7468541674bc7bfe8c741a6ea997faab1b7b78ba
(HTM) Author: rsc <devnull@localhost>
Date: Mon, 28 Nov 2005 00:43:50 +0000
fixes
Diffstat:
M src/cmd/acid/proc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/src/cmd/acid/proc.c b/src/cmd/acid/proc.c
t@@ -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");