switch_root: execv: show error string

This commit is contained in:
Hiltjo Posthuma 2015-05-10 14:17:56 +02:00 committed by sin
parent 78ddef361c
commit ee5b04a7a3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}