[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1396280619-31152-2-git-send-email-standby24x7@gmail.com>
Date: Tue, 1 Apr 2014 00:43:37 +0900
From: Masanari Iida <standby24x7@...il.com>
To: netdev@...r.kernel.org, pablo@...filter.org, kaber@...sh.net,
kadlec@...ckhole.kfki.hu, netfilter-devel@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Masanari Iida <standby24x7@...il.com>
Subject: [PATCH 3/5] netfilter: Fix format string mismatch in _conntrack_tftp_init()
Fix format string mismatch in _conntrack_tftp_init().
Signed-off-by: Masanari Iida <standby24x7@...il.com>
---
net/netfilter/nf_conntrack_tftp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/netfilter/nf_conntrack_tftp.c b/net/netfilter/nf_conntrack_tftp.c
index e68ab4f..9b1608f 100644
--- a/net/netfilter/nf_conntrack_tftp.c
+++ b/net/netfilter/nf_conntrack_tftp.c
@@ -134,7 +134,7 @@ static int __init nf_conntrack_tftp_init(void)
if (ports[i] == TFTP_PORT)
sprintf(tftp[i][j].name, "tftp");
else
- sprintf(tftp[i][j].name, "tftp-%u", i);
+ sprintf(tftp[i][j].name, "tftp-%d", i);
ret = nf_conntrack_helper_register(&tftp[i][j]);
if (ret) {
--
1.9.1.352.gd393d14
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists