Author: nwhitehorn
Date: Sun Oct 16 16:05:23 2011
New Revision: 226439
URL: http://svn.freebsd.org/changeset/base/226439
Log:
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
Modified:
head/usr.sbin/kbdmap/kbdmap.c
Modified: head/usr.sbin/kbdmap/kbdmap.c
==============================================================================
--- head/usr.sbin/kbdmap/kbdmap.c Sun Oct 16 15:55:23 2011
(r226438)
+++ head/usr.sbin/kbdmap/kbdmap.c Sun Oct 16 16:05:23 2011
(r226439)
@@ -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);
}
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"