summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/autoconf.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-05-09 16:56:09 +0000
committerphk <phk@FreeBSD.org>1999-05-09 16:56:09 +0000
commit3e9a4fabc345d4d09660888dc13b2a5515b3b35b (patch)
treeb113b9760c6076f78c81c482fbdae496277b1256 /sys/amd64/amd64/autoconf.c
parent1ce3de940971da9b634294ce616e1806cd74830b (diff)
downloadFreeBSD-src-3e9a4fabc345d4d09660888dc13b2a5515b3b35b.zip
FreeBSD-src-3e9a4fabc345d4d09660888dc13b2a5515b3b35b.tar.gz
Oops. If ROOTDEVNAME isn't defined, have -r call -a.
Diffstat (limited to 'sys/amd64/amd64/autoconf.c')
-rw-r--r--sys/amd64/amd64/autoconf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/amd64/amd64/autoconf.c b/sys/amd64/amd64/autoconf.c
index 236d1c3..0dff498 100644
--- a/sys/amd64/amd64/autoconf.c
+++ b/sys/amd64/amd64/autoconf.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
- * $Id: autoconf.c,v 1.118 1999/05/09 07:56:36 phk Exp $
+ * $Id: autoconf.c,v 1.119 1999/05/09 16:45:49 phk Exp $
*/
/*
@@ -437,7 +437,11 @@ setroot()
char *sname;
if (boothowto & RB_DFLTROOT) {
+#ifdef ROOTDEVNAME
setrootbyname(ROOTDEVNAME);
+#else
+ setconf();
+#endif
return;
}
if ((bootdev & B_MAGICMASK) != B_DEVMAGIC)
OpenPOWER on IntegriCloud