mirror of git://git.suckless.org/ubase
switch_root: execv: show error string
This commit is contained in:
parent
78ddef361c
commit
ee5b04a7a3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue