From 44a88072bdca49fd0b9b9a6e7350a6a89399ff40 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 6 Nov 1994 23:33:20 +0000 Subject: [PATCH] Never have more than one active partition. --- sbin/sysinstall/mbr.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sbin/sysinstall/mbr.c b/sbin/sysinstall/mbr.c index dfd90d5e6b0..4649bd2a847 100644 --- a/sbin/sysinstall/mbr.c +++ b/sbin/sysinstall/mbr.c @@ -420,6 +420,10 @@ Fdisk() dp[l-1].dp_typ=l3; i = AskEm(stdscr, "Bootflag (0x80 for YES)> ", buf, 5); dp[l-1].dp_flag=strtol(buf, 0, 0); + if(dp[l-1].dp_flag) + for(i=0;i