From 91dbeea7b67a33aff9dc3bd762a01797fda1e2bc Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Mon, 8 Jun 2009 10:53:18 +0000 Subject: [PATCH] add a missing format in a printf Detected building with gcc 4.3.3 MFC after: 3 days --- sbin/ipfw/ipfw2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c index c70aaa2912d4..58094a18e972 100644 --- a/sbin/ipfw/ipfw2.c +++ b/sbin/ipfw/ipfw2.c @@ -508,7 +508,7 @@ print_newports(ipfw_insn_u16 *cmd, int proto, int opcode) } 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("-");