diff options
author | paul <paul@FreeBSD.org> | 1994-10-21 18:26:25 +0000 |
---|---|---|
committer | paul <paul@FreeBSD.org> | 1994-10-21 18:26:25 +0000 |
commit | 330240f03fea2f38bab27d738a7cc3e366e915a8 (patch) | |
tree | 86f0d6b1943b35f1b0cb9b2164b165ed87933e79 | |
parent | dceb550f04722491fd9516fe28b2f3009f31f3c7 (diff) | |
download | FreeBSD-src-330240f03fea2f38bab27d738a7cc3e366e915a8.zip FreeBSD-src-330240f03fea2f38bab27d738a7cc3e366e915a8.tar.gz |
Fixed a typo and moved a dialog_clear() line.
-rw-r--r-- | sbin/sysinstall/bootarea.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/sysinstall/bootarea.c b/sbin/sysinstall/bootarea.c index 0e0cbb8..464e9e2 100644 --- a/sbin/sysinstall/bootarea.c +++ b/sbin/sysinstall/bootarea.c @@ -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 */ |