From 9865bd51670ce03651ee308346a61078239c91db Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Wed, 21 Jul 1999 21:11:28 +0000 Subject: [PATCH] Make mountroot work again (change makedev to makebdev). --- sys/alpha/alpha/autoconf.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/alpha/alpha/autoconf.c b/sys/alpha/alpha/autoconf.c index 6f5942eaede1..7f1f868945cf 100644 --- a/sys/alpha/alpha/autoconf.c +++ b/sys/alpha/alpha/autoconf.c @@ -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,8 +248,9 @@ cpu_rootconf() periph = cam_periph_find(path, "da"); if (periph) - rootdev = makedev(4, dkmakeminor(periph->unit_number, - COMPATIBILITY_SLICE, 0)); + rootdev = makebdev + (4, dkmakeminor(periph->unit_number, + COMPATIBILITY_SLICE, 0)); xpt_free_path(path); }