Fixed a typo and moved a dialog_clear() line.
This commit is contained in:
parent
b4740339e8
commit
66e35128bf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3758
@ -107,7 +107,7 @@ build_bootblocks(struct disklabel *label)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog_clear();
|
dialog_clear();
|
||||||
sprintf(scratch, "\nLoading boot code from %s\n", boot1);
|
sprintf(scratch, "\nLoading boot code from %s\n", boot2);
|
||||||
dialog_msgbox(TITLE, scratch, 5, 60, 0);
|
dialog_msgbox(TITLE, scratch, 5, 60, 0);
|
||||||
|
|
||||||
fd = open(boot2, O_RDONLY);
|
fd = open(boot2, O_RDONLY);
|
||||||
@ -127,12 +127,13 @@ build_bootblocks(struct disklabel *label)
|
|||||||
return(-1);
|
return(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dialog_clear();
|
||||||
|
|
||||||
/* Copy DOS partition area into bootblocks */
|
/* Copy DOS partition area into bootblocks */
|
||||||
|
|
||||||
bcopy(mbr->dospart, &bootblocks[DOSPARTOFF],
|
bcopy(mbr->dospart, &bootblocks[DOSPARTOFF],
|
||||||
sizeof(struct dos_partition) * 4);
|
sizeof(struct dos_partition) * 4);
|
||||||
|
|
||||||
dialog_clear();
|
|
||||||
|
|
||||||
/* Write the disklabel into the bootblocks */
|
/* Write the disklabel into the bootblocks */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user