summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-10-02 02:19:35 +0000
committerjkh <jkh@FreeBSD.org>1996-10-02 02:19:35 +0000
commitece7db74ef2006855d1302d0acc85bfd5533a76e (patch)
tree20b6823341f9053ef469ea40c54ae690732a5cc0 /usr.sbin
parentb19ed7e5c87dd66648a79bf26d67628ff3478259 (diff)
downloadFreeBSD-src-ece7db74ef2006855d1302d0acc85bfd5533a76e.zip
FreeBSD-src-ece7db74ef2006855d1302d0acc85bfd5533a76e.tar.gz
Catch a clear() I missed.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/label.c11
-rw-r--r--usr.sbin/sysinstall/label.c11
2 files changed, 12 insertions, 10 deletions
diff --git a/usr.sbin/sade/label.c b/usr.sbin/sade/label.c
index 98f26c8..4be5dcd 100644
--- a/usr.sbin/sade/label.c
+++ b/usr.sbin/sade/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.59 1996/10/01 12:13:13 jkh Exp $
+ * $Id: label.c,v 1.60 1996/10/01 14:08:23 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -802,7 +802,7 @@ diskLabel(char *str)
}
variable_set2(DISK_LABELLED, "yes");
record_label_chunks(devs);
- clear();
+ clear_wins();
break;
default:
@@ -817,6 +817,7 @@ diskLabel(char *str)
getNewfsCmd(label_chunk_info[here].c->private_data);
else
msg = MSG_NOT_APPLICABLE;
+ clear_wins();
break;
case 'T': /* Toggle newfs state */
@@ -850,7 +851,7 @@ diskLabel(char *str)
}
}
record_label_chunks(devs);
- clear();
+ clear_wins();
break;
case 'W':
@@ -861,7 +862,7 @@ diskLabel(char *str)
variable_set2(DISK_LABELLED, "yes");
diskLabelCommit(NULL);
}
- clear();
+ clear_wins();
break;
case '|':
@@ -886,7 +887,7 @@ diskLabel(char *str)
variable_set2(DISK_LABELLED, "yes");
DialogActive = TRUE;
record_label_chunks(devs);
- clear();
+ clear_wins();
}
else
msg = "A most prudent choice!";
diff --git a/usr.sbin/sysinstall/label.c b/usr.sbin/sysinstall/label.c
index 98f26c8..4be5dcd 100644
--- a/usr.sbin/sysinstall/label.c
+++ b/usr.sbin/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.59 1996/10/01 12:13:13 jkh Exp $
+ * $Id: label.c,v 1.60 1996/10/01 14:08:23 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -802,7 +802,7 @@ diskLabel(char *str)
}
variable_set2(DISK_LABELLED, "yes");
record_label_chunks(devs);
- clear();
+ clear_wins();
break;
default:
@@ -817,6 +817,7 @@ diskLabel(char *str)
getNewfsCmd(label_chunk_info[here].c->private_data);
else
msg = MSG_NOT_APPLICABLE;
+ clear_wins();
break;
case 'T': /* Toggle newfs state */
@@ -850,7 +851,7 @@ diskLabel(char *str)
}
}
record_label_chunks(devs);
- clear();
+ clear_wins();
break;
case 'W':
@@ -861,7 +862,7 @@ diskLabel(char *str)
variable_set2(DISK_LABELLED, "yes");
diskLabelCommit(NULL);
}
- clear();
+ clear_wins();
break;
case '|':
@@ -886,7 +887,7 @@ diskLabel(char *str)
variable_set2(DISK_LABELLED, "yes");
DialogActive = TRUE;
record_label_chunks(devs);
- clear();
+ clear_wins();
}
else
msg = "A most prudent choice!";
OpenPOWER on IntegriCloud