Now all MBR_* definitions come from <sys/disklabel_mbr.h>

This commit is contained in:
matt 2002-03-02 07:05:30 +00:00
parent 6327f7590a
commit b7a4d57a9e

View File

@ -1,4 +1,4 @@
/* $NetBSD: mkbootimage.c,v 1.1 2000/02/29 15:21:52 nonaka Exp $ */
/* $NetBSD: mkbootimage.c,v 1.2 2002/03/02 07:05:30 matt Exp $ */
/*-
* Copyright (C) 1999, 2000 NONAKA Kimihiro (nonaka@netbsd.org)
@ -48,9 +48,6 @@
#include "magic.h"
#define MBR_PTYPE_PREP 0x41
#define MBR_BOOT_ACTIVE 0x80
int
main(argc, argv)
int argc;
@ -153,7 +150,7 @@ main(argc, argv)
* Build a "PReP" partition table entry in the boot record
* - "PReP" may only look at the system_indicator
*/
mbrp->mbrp_flag = MBR_BOOT_ACTIVE;
mbrp->mbrp_flag = MBR_FLAGS_ACTIVE;
mbrp->mbrp_typ = MBR_PTYPE_PREP;
/*