aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/kbdcontrol/kbdcontrol.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>1998-05-05 19:02:01 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>1998-05-05 19:02:01 +0000
commit7e5ee0f5eb1cb57d9afac2862397c37a44ba4b66 (patch)
tree3772baf7ef8669e3167fc9a1c224475ca3f58104 /usr.sbin/kbdcontrol/kbdcontrol.c
parenteb011aea8d6048a35ba85b346e98e7a43802188c (diff)
downloadsrc-7e5ee0f5eb1cb57d9afac2862397c37a44ba4b66.tar.gz
src-7e5ee0f5eb1cb57d9afac2862397c37a44ba4b66.zip
Fix the search sequence for keymaps.
PR: bin/6522 Submitted by: Rudolf Cejka
Notes
Notes: svn path=/head/; revision=35750
Diffstat (limited to 'usr.sbin/kbdcontrol/kbdcontrol.c')
-rw-r--r--usr.sbin/kbdcontrol/kbdcontrol.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/kbdcontrol/kbdcontrol.c b/usr.sbin/kbdcontrol/kbdcontrol.c
index 4038061c68e7..ef53ab85d2c0 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]);