Index: usr.sbin/kbdmap/kbdmap.c =================================================================== --- usr.sbin/kbdmap/kbdmap.c +++ usr.sbin/kbdmap/kbdmap.c @@ -392,7 +392,7 @@ 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");