1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

Make mountroot work again (change makedev to makebdev).

This commit is contained in:
Doug Rabson 1999-07-21 21:11:28 +00:00
parent 59d057112c
commit 9865bd5167
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48969

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: autoconf.c,v 1.28 1999/05/31 20:44:11 dt Exp $
* $Id: autoconf.c,v 1.29 1999/07/17 20:47:40 phk Exp $
*/
#include "opt_bootp.h"
@ -248,7 +248,8 @@ cpu_rootconf()
periph = cam_periph_find(path, "da");
if (periph)
rootdev = makedev(4, dkmakeminor(periph->unit_number,
rootdev = makebdev
(4, dkmakeminor(periph->unit_number,
COMPATIBILITY_SLICE, 0));
xpt_free_path(path);