From 1de4665dfcd7e158b09757dba31648397cd11c81 Mon Sep 17 00:00:00 2001 From: Alfonso Siciliano Date: Mon, 13 Dec 2021 09:06:21 +0100 Subject: [PATCH] kbdmap: adapt to the new libbsddialog API Differential Revision: https://reviews.freebsd.org/D33398 --- usr.sbin/kbdmap/kbdmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/kbdmap/kbdmap.c b/usr.sbin/kbdmap/kbdmap.c index c3ed13237b8..ef6e4812a3f 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");