mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Oops. If ROOTDEVNAME isn't defined, have -r call -a.
This commit is contained in:
parent
04ab695ebf
commit
aa713cb898
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=46808
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user