aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/kbdmap/kbdmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/kbdmap/kbdmap.c b/usr.sbin/kbdmap/kbdmap.c
index c3ed13237b8d..ef6e4812a3fc 100644
--- a/usr.sbin/kbdmap/kbdmap.c
+++ b/usr.sbin/kbdmap/kbdmap.c
@@ -392,7 +392,7 @@ show_dialog(struct keymap **km_sorted, int num_keymaps)
num_keymaps, listitems, NULL);
bsddialog_end();
switch (result) {
- case BSDDIALOG_YESOK:
+ case BSDDIALOG_OK:
for (i = 0; i < num_keymaps; i++) {
if (listitems[i].on) {
printf("ici\n");