diff options
author | dfr <dfr@FreeBSD.org> | 1999-07-21 21:11:28 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1999-07-21 21:11:28 +0000 |
commit | 150e7c6457f58813a0eaabce9517bafa2920b42b (patch) | |
tree | 8469d3458a526b48ac0b7581fc90cd367964731f | |
parent | cac0e3a7c29758875011a226cd300768eb58e1ce (diff) | |
download | FreeBSD-src-150e7c6457f58813a0eaabce9517bafa2920b42b.zip FreeBSD-src-150e7c6457f58813a0eaabce9517bafa2920b42b.tar.gz |
Make mountroot work again (change makedev to makebdev).
-rw-r--r-- | sys/alpha/alpha/autoconf.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/alpha/alpha/autoconf.c b/sys/alpha/alpha/autoconf.c index 6f5942e..7f1f868 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); } |