diff options
author | jkh <jkh@FreeBSD.org> | 2000-12-14 02:49:02 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 2000-12-14 02:49:02 +0000 |
commit | c8394629dce8024ccb9d10490623035b757c034b (patch) | |
tree | 8b1e5ad94d0002f9b6fdae7211a93c59006db6cb /usr.sbin/sysinstall/main.c | |
parent | 41a7e78c6b5ace25de009b8707f66f8543288720 (diff) | |
download | FreeBSD-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.c | 4 |
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 ) |