svn commit: r269119 - head/usr.sbin/kbdcontrol

Stefan Esser se at FreeBSD.org
Sat Jul 26 12:17:26 UTC 2014


Author: se
Date: Sat Jul 26 12:17:26 2014
New Revision: 269119
URL: http://svnweb.freebsd.org/changeset/base/269119

Log:
  Fix obvious off by one error: prefix[1] should be set to the path of the
  newcons specific keymap files, not prefix[2]. The result of this bug was
  that kbdcontrol ignored the files in the syscons keymap directory, which
  apparently still work under newcons, for most locales.
  
  MFC after:	1 week

Modified:
  head/usr.sbin/kbdcontrol/kbdcontrol.c

Modified: head/usr.sbin/kbdcontrol/kbdcontrol.c
==============================================================================
--- head/usr.sbin/kbdcontrol/kbdcontrol.c	Sat Jul 26 10:20:48 2014	(r269118)
+++ head/usr.sbin/kbdcontrol/kbdcontrol.c	Sat Jul 26 12:17:26 2014	(r269119)
@@ -804,7 +804,7 @@ load_keymap(char *opt, int dumponly)
 	char	*postfix[] = {blank, dotkbd, NULL};
 
 	if (is_vt4())
-		prefix[2] = vt_keymap_path;
+		prefix[1] = vt_keymap_path;
 	cp = getenv("KEYMAP_PATH");
 	if (cp != NULL)
 		asprintf(&(prefix[0]), "%s/", cp);


More information about the svn-src-head mailing list