Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2024 14:35:56 GMT
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 20062c378b34 - stable/14 - kbdmap: fix typo preventing kbdmap to work under vt
Message-ID:  <202403181435.42IEZuv9066275@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=20062c378b34f28f1f9a8025f0c5899a5349c903

commit 20062c378b34f28f1f9a8025f0c5899a5349c903
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-02-01 07:44:04 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-03-18 14:34:49 +0000

    kbdmap: fix typo preventing kbdmap to work under vt
    
    (cherry picked from commit 0f4e8037332fa5e64b3bb291c9b1ba7f8d8b4d4e)
---
 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 cad42ec29985..7735a0e55191 100644
--- a/usr.sbin/kbdmap/kbdmap.c
+++ b/usr.sbin/kbdmap/kbdmap.c
@@ -399,7 +399,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]);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403181435.42IEZuv9066275>