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:
Greg Lehey 1999-12-20 02:50:49 +00:00
parent dfa2df1291
commit 580e7e5a0f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54869

View File

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