summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/disks.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-20 19:22:21 +0000
committerjkh <jkh@FreeBSD.org>1995-05-20 19:22:21 +0000
commit5b4364e432dac8d8f25c5a6a369543e1360c6332 (patch)
tree70972311b653735af9a1cb4bddc597a70e5c6d16 /usr.sbin/sysinstall/disks.c
parent8874835086bd5b4560192f88191aa557a445702b (diff)
downloadFreeBSD-src-5b4364e432dac8d8f25c5a6a369543e1360c6332.zip
FreeBSD-src-5b4364e432dac8d8f25c5a6a369543e1360c6332.tar.gz
Don't clear the screen for every redraw in the disklabel and
partition editors (ugh). Fix an utterly bogus message (no arguments :) in dist.c. This should all make Poul a little happier and slide in before the next CTM update window.
Diffstat (limited to 'usr.sbin/sysinstall/disks.c')
-rw-r--r--usr.sbin/sysinstall/disks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c
index f1f1693..fd28106 100644
--- a/usr.sbin/sysinstall/disks.c
+++ b/usr.sbin/sysinstall/disks.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: disks.c,v 1.22 1995/05/18 09:01:50 jkh Exp $
+ * $Id: disks.c,v 1.23 1995/05/20 10:33:02 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -79,7 +79,6 @@ print_chunks(Disk *d)
int row;
int i;
- clear();
attrset(A_NORMAL);
mvaddstr(0, 0, "Disk name:\t");
attrset(A_REVERSE); addstr(d->name); attrset(A_NORMAL);
@@ -129,6 +128,7 @@ diskPartition(Disk *d)
strncpy(name, d->name, 40);
keypad(stdscr, TRUE);
+ clear();
record_chunks(d);
while (chunking) {
print_chunks(d);
OpenPOWER on IntegriCloud