git: 0f4e8037332f - main - kbdmap: fix typo preventing kbdmap to work under vt
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 Feb 2024 07:46:12 UTC
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=0f4e8037332fa5e64b3bb291c9b1ba7f8d8b4d4e commit 0f4e8037332fa5e64b3bb291c9b1ba7f8d8b4d4e Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2024-02-01 07:44:04 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2024-02-01 07:45:50 +0000 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]);