svn commit: r226439 - head/usr.sbin/kbdmap

Nathan Whitehorn nwhitehorn at FreeBSD.org
Sun Oct 16 16:05:24 UTC 2011


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);
 }
 


More information about the svn-src-all mailing list