From 0f4e8037332fa5e64b3bb291c9b1ba7f8d8b4d4e Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 1 Feb 2024 08:44:04 +0100 Subject: [PATCH] kbdmap: fix typo preventing kbdmap to work under vt --- 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 71ff1a515a1c..75663ad87ff3 100644 --- a/usr.sbin/kbdmap/kbdmap.c +++ b/usr.sbin/kbdmap/kbdmap.c @@ -398,7 +398,7 @@ show_dialog(struct keymap **km_sorted, int num_keymaps) case BSDDIALOG_OK: for (i = 0; i < num_keymaps; i++) { if (listitems[i].on) { - if (!strcmp(program, "kdbmap")) + if (!strcmp(program, "kbdmap")) do_kbdcontrol(km_sorted[i]); else do_vidfont(km_sorted[i]);