From b44eacea5615b297c0b69ee43ffbd6f4683895b3 Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 3 Jul 1999 08:24:00 +0000 Subject: Be more informative and try to ask the user in some instances if we can't figure out the root device. --- sys/kern/vfs_mount.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/kern/vfs_mount.c') 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; } -- cgit v1.1