diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 2000-12-14 02:49:02 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 2000-12-14 02:49:02 +0000 |
commit | 621005e3cb4c484dc456ab4f82793f8b74e0a626 (patch) | |
tree | 0c8df5fa5760e3f133e777428a3dfc951a1e179e /usr.sbin/sysinstall/disks.c | |
parent | e6657d443e34d678b4f9cdda94fbaa6ad1742c3c (diff) | |
download | src-621005e3cb4c484dc456ab4f82793f8b74e0a626.tar.gz src-621005e3cb4c484dc456ab4f82793f8b74e0a626.zip |
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 :).
Notes
Notes:
svn path=/head/; revision=70005
Diffstat (limited to 'usr.sbin/sysinstall/disks.c')
-rw-r--r-- | usr.sbin/sysinstall/disks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c index e93ff5ae817a..ce05ea0c6b17 100644 --- a/usr.sbin/sysinstall/disks.c +++ b/usr.sbin/sysinstall/disks.c @@ -528,7 +528,7 @@ diskPartition(Device *dev) msgConfirm("You've already written this information out - you\n" "can't undo it."); } - else if (!msgYesNo("Are you SURE you want to Undo everything?")) { + else if (!msgNoYes("Are you SURE you want to Undo everything?")) { char cp[BUFSIZ]; sstrncpy(cp, d->name, sizeof cp); @@ -546,7 +546,7 @@ diskPartition(Device *dev) break; case 'W': - if (!msgYesNo("WARNING: This should only be used when modifying an EXISTING\n" + 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" @@ -599,7 +599,7 @@ diskPartition(Device *dev) break; case '|': - if (!msgYesNo("Are you SURE you want to go into Wizard mode?\n" + if (!msgNoYes("Are you SURE you want to go into Wizard mode?\n" "No seat belts whatsoever are provided!")) { clear(); refresh(); |