From 3e9a4fabc345d4d09660888dc13b2a5515b3b35b Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 9 May 1999 16:56:09 +0000 Subject: Oops. If ROOTDEVNAME isn't defined, have -r call -a. --- sys/amd64/amd64/autoconf.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/amd64/amd64/autoconf.c') 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) -- cgit v1.1