diff options
author | phk <phk@FreeBSD.org> | 1999-07-03 08:24:00 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-07-03 08:24:00 +0000 |
commit | b44eacea5615b297c0b69ee43ffbd6f4683895b3 (patch) | |
tree | 7d96fa260dd00fbc0ac5c91f9651c79e24992d19 /sys/kern | |
parent | 1d20b72ec57ab7ec22422ba41719b0b503c35ea3 (diff) | |
download | FreeBSD-src-b44eacea5615b297c0b69ee43ffbd6f4683895b3.zip FreeBSD-src-b44eacea5615b297c0b69ee43ffbd6f4683895b3.tar.gz |
Be more informative and try to ask the user in some instances if we can't
figure out the root device.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_conf.c | 6 | ||||
-rw-r--r-- | sys/kern/vfs_mount.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/kern/vfs_conf.c b/sys/kern/vfs_conf.c index c8ebca6..27d53ba 100644 --- a/sys/kern/vfs_conf.c +++ b/sys/kern/vfs_conf.c @@ -32,7 +32,7 @@ * SUCH DAMAGE. * * @(#)vfs_conf.c 8.8 (Berkeley) 3/31/94 - * $Id: vfs_conf.c,v 1.28 1999/05/24 00:37:26 jb Exp $ + * $Id: vfs_conf.c,v 1.29 1999/06/26 14:44:24 peter Exp $ */ /* @@ -129,7 +129,7 @@ vfs_mountrootfs(void *unused) * New root mount structure */ if ((err = vfs_rootmountalloc(mountrootfsname, ROOTNAME, &mp))) { - printf("error %d: ", err); + printf("rootdev=%08x error=%d, ", rootdev, err); panic("cannot mount root\n"); return ; } @@ -170,7 +170,7 @@ vfs_mountrootfs(void *unused) * (hardly worthwhile with the PANIC eh?) */ free( mp, M_MOUNT); - printf("error %d: ", err); + printf("rootdev=%08x error=%d, ", rootdev, err); panic("cannot mount root (2)\n"); return; } diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index c8ebca6..27d53ba 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -32,7 +32,7 @@ * SUCH DAMAGE. * * @(#)vfs_conf.c 8.8 (Berkeley) 3/31/94 - * $Id: vfs_conf.c,v 1.28 1999/05/24 00:37:26 jb Exp $ + * $Id: vfs_conf.c,v 1.29 1999/06/26 14:44:24 peter Exp $ */ /* @@ -129,7 +129,7 @@ vfs_mountrootfs(void *unused) * New root mount structure */ if ((err = vfs_rootmountalloc(mountrootfsname, ROOTNAME, &mp))) { - printf("error %d: ", err); + printf("rootdev=%08x error=%d, ", rootdev, err); panic("cannot mount root\n"); return ; } @@ -170,7 +170,7 @@ vfs_mountrootfs(void *unused) * (hardly worthwhile with the PANIC eh?) */ free( mp, M_MOUNT); - printf("error %d: ", err); + printf("rootdev=%08x error=%d, ", rootdev, err); panic("cannot mount root (2)\n"); return; } |