From c1a8eb796394bae62f27e54c7929820420538e44 Mon Sep 17 00:00:00 2001 From: sin Date: Fri, 7 Feb 2014 22:03:07 +0000 Subject: *p points to program name --- sinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.2.3-54-g00ecf