*p points to program name - sinit - suckless init | |
git clone git://git.suckless.org/sinit | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit c1a8eb796394bae62f27e54c7929820420538e44 | |
parent 30f05b9cf6be171dc38e78940e865ea473a88baf | |
Author: sin <[email protected]> | |
Date: Fri, 7 Feb 2014 22:03:07 +0000 | |
*p points to program name | |
Diffstat: | |
M sinit.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/sinit.c b/sinit.c | |
@@ -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); | |
} | |
} |