Make sure to pass a dev_t to dkunit.

This commit is contained in:
Doug Rabson 1999-05-14 11:13:21 +00:00
parent b097076e25
commit cc180a90a0
2 changed files with 7 additions and 5 deletions

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.22 1999/05/10 16:36:38 peter Exp $
* $Id: autoconf.c,v 1.23 1999/05/10 17:12:38 peter Exp $
*/
#include "opt_bootp.h"
@ -272,7 +272,7 @@ cpu_rootconf()
}
rootdevs[0] = rootdev;
rootname[2] += dkunit(minor(rootdev));
rootname[2] += dkunit(rootdev);
rootdevnames[0] = rootname;
}
#endif

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: machdep.c,v 1.40 1999/04/26 08:57:51 peter Exp $
* $Id: machdep.c,v 1.41 1999/05/11 18:55:18 dt Exp $
*/
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -1076,8 +1076,10 @@ alpha_init(pfn, ptb, bim, bip, biv)
*/
#ifdef DDB
kdb_init();
if (boothowto & RB_KDB)
Debugger("Boot flags requested debugger");
if (boothowto & RB_KDB) {
printf("Boot flags requested debugger\n");
breakpoint();
}
#endif
/*