diff options
author | des <des@FreeBSD.org> | 1998-05-05 19:02:01 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 1998-05-05 19:02:01 +0000 |
commit | d0c92c2cc82ed6eab8c4a9c4902f050dfb81ad67 (patch) | |
tree | 8eafd693c09ad32d0362b66a995962d7ab46a527 | |
parent | e57657ce89c0729493ee7ebc781fbefa04747f85 (diff) | |
download | FreeBSD-src-d0c92c2cc82ed6eab8c4a9c4902f050dfb81ad67.zip FreeBSD-src-d0c92c2cc82ed6eab8c4a9c4902f050dfb81ad67.tar.gz |
Fix the search sequence for keymaps.
PR: bin/6522
Submitted by: Rudolf Cejka
-rw-r--r-- | usr.sbin/kbdcontrol/kbdcontrol.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/kbdcontrol/kbdcontrol.c b/usr.sbin/kbdcontrol/kbdcontrol.c index 4038061..ef53ab8 100644 --- a/usr.sbin/kbdcontrol/kbdcontrol.c +++ b/usr.sbin/kbdcontrol/kbdcontrol.c @@ -28,7 +28,7 @@ #ifndef lint static const char rcsid[] = - "$Id: kbdcontrol.c,v 1.12 1998/01/07 08:43:27 yokota Exp $"; + "$Id: kbdcontrol.c,v 1.13 1998/01/12 23:53:26 yokota Exp $"; #endif /* not lint */ #include <ctype.h> @@ -650,8 +650,8 @@ load_keymap(char *opt, int dumponly) FILE *fd; int i; char *name, *cp; - char *prefix[] = {"", "", KEYMAP_PATH, NULL}; - char *postfix[] = {"", ".kbd", ".kbd"}; + char *prefix[] = {"", "", KEYMAP_PATH, KEYMAP_PATH, NULL}; + char *postfix[] = {"", ".kbd", "", ".kbd"}; for (i=0; prefix[i]; i++) { name = mkfullname(prefix[i], opt, postfix[i]); |