diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-04-10 04:17:51 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-04-10 04:17:51 +0000 |
commit | 67f798016b5175d1e535917b19fca2c256bb552e (patch) | |
tree | 0c7fec38cd9a6fc55b23fd45af83709530692db1 /sys | |
parent | 43cb963493872aa7547693a156ab3da0a5449cbf (diff) |
Be sure to print 'root on' line for RAMDISK kernels
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/sparc64/autoconf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c index 6c1720ce865..015b1663fdb 100644 --- a/sys/arch/sparc64/sparc64/autoconf.c +++ b/sys/arch/sparc64/sparc64/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.22 2002/03/22 16:29:46 jason Exp $ */ +/* $OpenBSD: autoconf.c,v 1.23 2002/04/10 04:17:50 jason Exp $ */ /* $NetBSD: autoconf.c,v 1.51 2001/07/24 19:32:11 eeh Exp $ */ /* @@ -747,6 +747,9 @@ gotswap: * `root DEV swap DEV': honour rootdev/swdevt. * rootdev/swdevt/mountroot already properly set. */ + if (bootdv->dv_class == DV_DISK) + printf("root on %s%c\n", bootdv->dv_xname, + part + 'a'); majdev = major(rootdev); unit = DISKUNIT(rootdev); part = DISKPART(rootdev); |