If we fail to find init, print out the search path used. This helps
differentiate between one of three different scenarios: 1. No init. 2. Path to init munged by an incorrect loader configuration. 3. Root file system not mounted. Reviewed-by: billf
This commit is contained in:
parent
dfa2df1291
commit
580e7e5a0f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54869
@ -609,6 +609,6 @@ start_init(dummy)
|
||||
printf("exec %.*s: error %d\n", (int)(next - path),
|
||||
path, error);
|
||||
}
|
||||
printf("init: not found\n");
|
||||
printf("init: not found in path %s\n", init_path);
|
||||
panic("no init");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user