aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2011-10-16 16:05:23 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2011-10-16 16:05:23 +0000
commit5d920ef7046fe274a64830501f2582fc3c103ace (patch)
treed8acb84337ad22de3cccc0a56dbf2f9193872574 /usr.sbin
parente233e2acb30b72acbe28545c89613cc74bca7449 (diff)
downloadsrc-5d920ef7046fe274a64830501f2582fc3c103ace.tar.gz
src-5d920ef7046fe274a64830501f2582fc3c103ace.zip
Place quotes around the output of kbdmap(1), designed to be pasted into
/etc/rc.conf. PR: bin/161711 Submitted by: manolis MFC after: 1 week
Notes
Notes: svn path=/head/; revision=226439
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/kbdmap/kbdmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/kbdmap/kbdmap.c b/usr.sbin/kbdmap/kbdmap.c
index c9933891c12a..726652f0ae96 100644
--- a/usr.sbin/kbdmap/kbdmap.c
+++ b/usr.sbin/kbdmap/kbdmap.c
@@ -289,7 +289,7 @@ do_kbdcontrol(struct keymap *km)
if (!x11)
system(kbd_cmd);
- fprintf(stderr, "keymap=%s\n", km->keym);
+ fprintf(stderr, "keymap=\"%s\"\n", km->keym);
free(kbd_cmd);
}