Fixed a typo and moved a dialog_clear() line.

This commit is contained in:
Paul Richards 1994-10-21 18:26:25 +00:00
parent b4740339e8
commit 66e35128bf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3758

View File

@ -107,7 +107,7 @@ build_bootblocks(struct disklabel *label)
}
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);
fd = open(boot2, O_RDONLY);
@ -127,12 +127,13 @@ build_bootblocks(struct disklabel *label)
return(-1);
}
dialog_clear();
/* Copy DOS partition area into bootblocks */
bcopy(mbr->dospart, &bootblocks[DOSPARTOFF],
sizeof(struct dos_partition) * 4);
dialog_clear();
/* Write the disklabel into the bootblocks */