summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/label.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-07-31 09:29:35 +0000
committerjkh <jkh@FreeBSD.org>1996-07-31 09:29:35 +0000
commit2a50131bb0b7b79f7cdd0457a4a51e8b0e3a53c7 (patch)
tree59d4a07521d6bc7257b6347c06b8bb84ae59b8f5 /release/sysinstall/label.c
parent7f56d763c56f6a2b0b723c33a94237927069ac32 (diff)
downloadFreeBSD-src-2a50131bb0b7b79f7cdd0457a4a51e8b0e3a53c7.zip
FreeBSD-src-2a50131bb0b7b79f7cdd0457a4a51e8b0e3a53c7.tar.gz
Don't munge keystrokes.
Diffstat (limited to 'release/sysinstall/label.c')
-rw-r--r--release/sysinstall/label.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/release/sysinstall/label.c b/release/sysinstall/label.c
index 5b49ed2..e7f3c31 100644
--- a/release/sysinstall/label.c
+++ b/release/sysinstall/label.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: label.c,v 1.53 1996/07/14 01:54:39 jkh Exp $
+ * $Id: label.c,v 1.54 1996/07/31 06:20:57 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -497,7 +497,9 @@ diskLabel(char *str)
move(23, 0);
clrtoeol();
}
- key = toupper(getch());
+ key = getch();
+ if (islower(key))
+ key = toupper(key);
switch (key) {
int i;
static char _msg[40];
@@ -554,7 +556,7 @@ diskLabel(char *str)
char *cp;
Chunk *rootdev, *swapdev, *usrdev, *vardev;
- (void)checkLabels(&rootdev, &swapdev, &usrdev, &vardev);
+ (void)checkLabels(FALSE, &rootdev, &swapdev, &usrdev, &vardev);
if (!rootdev) {
cp = variable_get(VAR_ROOT_SIZE);
tmp = Create_Chunk_DWIM(label_chunk_info[here].c->disk, label_chunk_info[here].c,
OpenPOWER on IntegriCloud