summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-10-16 16:05:23 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-10-16 16:05:23 +0000
commita7d5299490d9eec54a0da2ef5a810222a6c40383 (patch)
treed8acb84337ad22de3cccc0a56dbf2f9193872574 /usr.sbin
parent375ff9c94032ab08b28542f7dae6ef2d6ca9edc0 (diff)
downloadFreeBSD-src-a7d5299490d9eec54a0da2ef5a810222a6c40383.zip
FreeBSD-src-a7d5299490d9eec54a0da2ef5a810222a6c40383.tar.gz
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
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 c993389..726652f 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);
}
OpenPOWER on IntegriCloud