aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-07-31 14:49:20 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-07-31 14:49:20 +0000
commitd47f2ceb5381215db300791c621f00635fb80a7e (patch)
treec9010f44ccd6456d5864fdf3615e526801faca5a /usr.sbin
parent85acc6887dd3b2f89190f9e1fcc98771d80ea526 (diff)
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/disks.c4
-rw-r--r--usr.sbin/sysinstall/disks.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/sade/disks.c b/usr.sbin/sade/disks.c
index 20682f5f371c..cf0ccb2fe1c0 100644
--- a/usr.sbin/sade/disks.c
+++ b/usr.sbin/sade/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;
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c
index 20682f5f371c..cf0ccb2fe1c0 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.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;