summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_mount.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-07-03 08:24:00 +0000
committerphk <phk@FreeBSD.org>1999-07-03 08:24:00 +0000
commitb44eacea5615b297c0b69ee43ffbd6f4683895b3 (patch)
tree7d96fa260dd00fbc0ac5c91f9651c79e24992d19 /sys/kern/vfs_mount.c
parent1d20b72ec57ab7ec22422ba41719b0b503c35ea3 (diff)
downloadFreeBSD-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/vfs_mount.c')
-rw-r--r--sys/kern/vfs_mount.c6
1 files changed, 3 insertions, 3 deletions
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;
}
OpenPOWER on IntegriCloud