summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/disks.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-07-31 14:49:20 +0000
committerjkh <jkh@FreeBSD.org>1996-07-31 14:49:20 +0000
commit1ebf76b0c3270a3b1295c107b68690cc233f5d6a (patch)
treec9010f44ccd6456d5864fdf3615e526801faca5a /release/sysinstall/disks.c
parent09d9898dd8b000fe674706b15ed636554f667771 (diff)
downloadFreeBSD-src-1ebf76b0c3270a3b1295c107b68690cc233f5d6a.zip
FreeBSD-src-1ebf76b0c3270a3b1295c107b68690cc233f5d6a.tar.gz
Add a required save/restore
Diffstat (limited to 'release/sysinstall/disks.c')
-rw-r--r--release/sysinstall/disks.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/sysinstall/disks.c b/release/sysinstall/disks.c
index 20682f5..cf0ccb2 100644
--- a/release/sysinstall/disks.c
+++ b/release/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.58 1996/07/31 09:29:25 jkh Exp $
+ * $Id: disks.c,v 1.59 1996/07/31 10:55:19 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -274,6 +274,7 @@ 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"
@@ -303,6 +304,7 @@ diskPartition(Device *dev, Disk *d)
record_chunks(d);
}
}
+ restorescr(save);
}
break;
OpenPOWER on IntegriCloud