aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-02-07 22:03:07 +0000
committersin <sin@2f30.org>2014-02-07 22:03:07 +0000
commitc1a8eb796394bae62f27e54c7929820420538e44 (patch)
treeac5b47e1f9ee2f005bdb5dd7e0a8fe835bb665a1
parent30f05b9cf6be171dc38e78940e865ea473a88baf (diff)
*p points to program name
-rw-r--r--sinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sinit.c b/sinit.c
index 8729dce..3f1626c 100644
--- 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);
}
}