summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/label.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2000-12-14 02:49:02 +0000
committerjkh <jkh@FreeBSD.org>2000-12-14 02:49:02 +0000
commitc8394629dce8024ccb9d10490623035b757c034b (patch)
tree8b1e5ad94d0002f9b6fdae7211a93c59006db6cb /usr.sbin/sade/label.c
parent41a7e78c6b5ace25de009b8707f66f8543288720 (diff)
downloadFreeBSD-src-c8394629dce8024ccb9d10490623035b757c034b.zip
FreeBSD-src-c8394629dce8024ccb9d10490623035b757c034b.tar.gz
Adapt sysinstall to use the new msgNoYes() function which assumes
no as a default. Sysinstall should be both less dangerous and less annoying as a result of this change, though that's just my opinion (since they're the defaults which annoy ME the least :).
Diffstat (limited to 'usr.sbin/sade/label.c')
-rw-r--r--usr.sbin/sade/label.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/sade/label.c b/usr.sbin/sade/label.c
index db5061a..952b6b2 100644
--- a/usr.sbin/sade/label.c
+++ b/usr.sbin/sade/label.c
@@ -1078,7 +1078,7 @@ diskLabel(Device *dev)
msgConfirm("You've already written out your changes -\n"
"it's too late to undo!");
}
- else if (!msgYesNo("Are you SURE you want to Undo everything?")) {
+ else if (!msgNoYes("Are you SURE you want to Undo everything?")) {
variable_unset(DISK_PARTITIONED);
variable_unset(DISK_LABELLED);
for (i = 0; devs[i]; i++) {
@@ -1103,7 +1103,7 @@ diskLabel(Device *dev)
"wish to overwrite them, you'll have to start this\n"
"procedure again from the beginning.");
}
- else if (!msgYesNo("WARNING: This should only be used when modifying an EXISTING\n"
+ else if (!msgNoYes("WARNING: This should only be used when modifying an EXISTING\n"
"installation. If you are installing FreeBSD for the first time\n"
"then you should simply type Q when you're finished here and your\n"
"changes will be committed in one batch automatically at the end of\n"
@@ -1116,7 +1116,7 @@ diskLabel(Device *dev)
break;
case '|':
- if (!msgYesNo("Are you sure you want to go into Wizard mode?\n\n"
+ if (!msgNoYes("Are you sure you want to go into Wizard mode?\n\n"
"This is an entirely undocumented feature which you are not\n"
"expected to understand!")) {
int i;
OpenPOWER on IntegriCloud