From d90175e4d60b3b4fe9477b8d462b71b3bccf43c0 Mon Sep 17 00:00:00 2001 From: luigi Date: Mon, 8 Jun 2009 10:53:18 +0000 Subject: 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(-) (limited to 'sbin') diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c index c70aaa2..58094a1 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("-"); -- cgit v1.1