diff options
author | sin <sin@2f30.org> | 2014-02-07 22:03:07 +0000 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-02-07 22:03:07 +0000 |
commit | c1a8eb796394bae62f27e54c7929820420538e44 (patch) | |
tree | ac5b47e1f9ee2f005bdb5dd7e0a8fe835bb665a1 | |
parent | 30f05b9cf6be171dc38e78940e865ea473a88baf (diff) |
*p points to program name
-rw-r--r-- | sinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -123,7 +123,7 @@ spawn(const Arg *arg) setsid(); setpgid(0, 0); execvp(*p, p); - weprintf("sinit: execvp %s:", p); + weprintf("sinit: execvp %s:", *p); _exit(errno == ENOENT ? 127 : 126); } } |