Never have more than one active partition.

This commit is contained in:
Poul-Henning Kamp 1994-11-06 23:33:20 +00:00
parent 89c8eae117
commit 44a88072bd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4218

View File

@ -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<NDOSPART;i++)
if(i != (l-1))
dp[i].dp_flag = 0;
break;
case 'd': case 'D':