From 66e35128bfff4bbbc4c46f42f78f611d4dcc4178 Mon Sep 17 00:00:00 2001 From: Paul Richards Date: Fri, 21 Oct 1994 18:26:25 +0000 Subject: [PATCH] Fixed a typo and moved a dialog_clear() line. --- sbin/sysinstall/bootarea.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sbin/sysinstall/bootarea.c b/sbin/sysinstall/bootarea.c index 0e0cbb85305e..464e9e2fc2b2 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 */