diff options
author | jkh <jkh@FreeBSD.org> | 1996-09-22 00:48:55 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-09-22 00:48:55 +0000 |
commit | d5953cd2b278bd1f259701af30432642c57ffc0b (patch) | |
tree | d43d1ae7ac0971560bed1febbec590614fab00a7 /usr.sbin/sysinstall/disks.c | |
parent | ed571fa244cc124359a99871fdfffa9e1b439f57 (diff) | |
download | FreeBSD-src-d5953cd2b278bd1f259701af30432642c57ffc0b.zip FreeBSD-src-d5953cd2b278bd1f259701af30432642c57ffc0b.tar.gz |
Remove some gratutious screen saves.
Diffstat (limited to 'usr.sbin/sysinstall/disks.c')
-rw-r--r-- | usr.sbin/sysinstall/disks.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c index 49da635..115c2a8 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.62 1996/08/03 05:29:24 jkh Exp $ + * $Id: disks.c,v 1.63 1996/08/03 10:10:44 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -272,7 +272,6 @@ diskPartition(Device *dev, Disk *d) char *val, tmp[20], *cp; int size, subtype; chunk_e partitiontype; - WINDOW *save = savescr(); snprintf(tmp, 20, "%d", chunk_info[current_chunk]->size); val = msgGetInput(tmp, "Please specify the size for new FreeBSD partition in blocks\n" @@ -302,7 +301,6 @@ diskPartition(Device *dev, Disk *d) record_chunks(d); } } - restorescr(save); } break; @@ -359,10 +357,8 @@ diskPartition(Device *dev, Disk *d) "are installing FreeBSD for the first time! This is not\n" "an option for use during the standard install.\n\n" "Are you absolutely sure you want to do this now?")) { - WINDOW *save = savescr(); variable_set2(DISK_PARTITIONED, "yes"); - clear(); /* Don't trash the MBR if the first (and therefore only) chunk is marked for a truly dedicated * disk (i.e., the disklabel starts at sector 0), even in cases where the user has requested @@ -376,7 +372,6 @@ diskPartition(Device *dev, Disk *d) msgConfirm("Disk partition write returned an error status!"); else msgConfirm("Wrote FDISK partition information out successfully."); - restorescr(save); } break; |