svn commit: r193702 - head/sbin/ipfw

Luigi Rizzo luigi at FreeBSD.org
Mon Jun 8 10:53:19 UTC 2009


Author: luigi
Date: Mon Jun  8 10:53:18 2009
New Revision: 193702
URL: http://svn.freebsd.org/changeset/base/193702

Log:
  add a missing format in a printf
  Detected building with gcc 4.3.3
  
  MFC after:	3 days

Modified:
  head/sbin/ipfw/ipfw2.c

Modified: head/sbin/ipfw/ipfw2.c
==============================================================================
--- head/sbin/ipfw/ipfw2.c	Mon Jun  8 10:43:20 2009	(r193701)
+++ head/sbin/ipfw/ipfw2.c	Mon Jun  8 10:53:18 2009	(r193702)
@@ -508,7 +508,7 @@ print_newports(ipfw_insn_u16 *cmd, int p
 	}
 	sep = " ";
 	for (i = F_LEN((ipfw_insn *)cmd) - 1; i > 0; i--, p += 2) {
-		printf(sep);
+		printf("%s", sep);
 		print_port(proto, p[0]);
 		if (p[0] != p[1]) {
 			printf("-");


More information about the svn-src-head mailing list