The function in tcp_probe is printf like, use GCC to check the args.
Sighed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
---
net/ipv4/tcp_probe.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/net/ipv4/tcp_probe.c 2007-05-21 08:48:29.000000000 -0700
+++ b/net/ipv4/tcp_probe.c 2007-05-21 08:50:32.000000000 -0700
@@ -80,7 +80,8 @@ static void printl(const char *fmt, ...)
kfifo_put(tcpw.fifo, tbuf, len);
wake_up(&tcpw.wait);
-}
+} __attribute__ ((format (printf, 1, 2)));
+
/*
* Hook inserted to be called before each receive packet.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html