summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/main.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/sysinstall/main.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/sysinstall/main.c')
-rw-r--r--usr.sbin/sysinstall/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/main.c b/usr.sbin/sysinstall/main.c
index 67de905..19196b3 100644
--- a/usr.sbin/sysinstall/main.c
+++ b/usr.sbin/sysinstall/main.c
@@ -149,9 +149,9 @@ main(int argc, char **argv)
dmenuOpen(&MenuInitial, &choice, &scroll, &curr, &max, TRUE);
if (getpid() != 1
#ifdef __alpha__
- || !msgYesNo("Are you sure you wish to exit? The system will halt.")
+ || !msgNoYes("Are you sure you wish to exit? The system will halt.")
#else
- || !msgYesNo("Are you sure you wish to exit? The system will reboot\n"
+ || !msgNoYes("Are you sure you wish to exit? The system will reboot\n"
"(be sure to remove any floppies/CDROMs from the drives).")
#endif
)
OpenPOWER on IntegriCloud