diff options
-rw-r--r-- | sys/amd64/amd64/autoconf.c | 6 | ||||
-rw-r--r-- | sys/i386/i386/autoconf.c | 6 |
2 files changed, 10 insertions, 2 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) diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c index 236d1c3..0dff498 100644 --- a/sys/i386/i386/autoconf.c +++ b/sys/i386/i386/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) |