diff options
author | grog <grog@FreeBSD.org> | 1999-12-20 02:50:49 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 1999-12-20 02:50:49 +0000 |
commit | 1af318cfbcc09a5b1ff34fda681eb5c8654e33f2 (patch) | |
tree | 7468826e52466c2b0ba1bf1b25c91543892ab89a /sys/kern/init_main.c | |
parent | 7124f5cecd60623f091cda949861754431918861 (diff) | |
download | FreeBSD-src-1af318cfbcc09a5b1ff34fda681eb5c8654e33f2.zip FreeBSD-src-1af318cfbcc09a5b1ff34fda681eb5c8654e33f2.tar.gz |
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
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 484cfa4..e6897ad 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -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"); } |