From ee5b04a7a3d12e8eeac9c9aa0f1ea45e644f854a Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 10 May 2015 14:17:56 +0200 Subject: [PATCH] switch_root: execv: show error string --- switch_root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/switch_root.c b/switch_root.c index 2714e3f..204f7d1 100644 --- a/switch_root.c +++ b/switch_root.c @@ -126,6 +126,6 @@ main(int argc, char *argv[]) /* execute init */ execv(argv[1], argv); - eprintf("can't execute '%s'\n", argv[1]); + eprintf("can't execute '%s':", argv[1]); return 1; }