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);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to