Adapt setting of active partition to newer MBR handling.

This commit is contained in:
fvdl 1999-04-01 11:33:02 +00:00
parent 9c323a2d8b
commit 793f57a4e6
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mbr.c,v 1.10 1999/03/31 00:44:48 fvdl Exp $ */ /* $NetBSD: mbr.c,v 1.11 1999/04/01 11:33:02 fvdl Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -274,6 +274,9 @@ edit_mbr(partition)
} }
} while (yesno && (numbsd != 1 || overlap)); } while (yesno && (numbsd != 1 || overlap));
if (activepart != -1)
part[activepart].mbrp_flag = 0x80;
if (numbsd == 0) { if (numbsd == 0) {
msg_display(MSG_nobsdpart); msg_display(MSG_nobsdpart);
process_menu(MENU_ok); process_menu(MENU_ok);