add a missing format in a printf

Detected building with gcc 4.3.3

MFC after:	3 days
This commit is contained in:
Luigi Rizzo 2009-06-08 10:53:18 +00:00
parent d88ff2a221
commit 91dbeea7b6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193702

View File

@ -508,7 +508,7 @@ print_newports(ipfw_insn_u16 *cmd, int proto, int opcode)
} }
sep = " "; sep = " ";
for (i = F_LEN((ipfw_insn *)cmd) - 1; i > 0; i--, p += 2) { for (i = F_LEN((ipfw_insn *)cmd) - 1; i > 0; i--, p += 2) {
printf(sep); printf("%s", sep);
print_port(proto, p[0]); print_port(proto, p[0]);
if (p[0] != p[1]) { if (p[0] != p[1]) {
printf("-"); printf("-");