From: Masanari Iida <standby24x7@gmail.com>
To: netdev@vger.kernel.org, pablo@netfilter.org, kaber@trash.net,
kadlec@blackhole.kfki.hu, netfilter-devel@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: Masanari Iida <standby24x7@gmail.com>
Subject: [PATCH 4/5] netfilter: Fix format string mismatch in nf_conntrack_irc_init()
Date: Tue, 1 Apr 2014 00:43:38 +0900 [thread overview]
Message-ID: <1396280619-31152-3-git-send-email-standby24x7@gmail.com> (raw)
In-Reply-To: <1396280619-31152-1-git-send-email-standby24x7@gmail.com>
Fix format string mismatch in nf_conntrack_irc_init()
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
net/netfilter/nf_conntrack_irc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/netfilter/nf_conntrack_irc.c b/net/netfilter/nf_conntrack_irc.c
index 0fd2976..8ee3a5f 100644
--- a/net/netfilter/nf_conntrack_irc.c
+++ b/net/netfilter/nf_conntrack_irc.c
@@ -263,7 +263,7 @@ static int __init nf_conntrack_irc_init(void)
if (ports[i] == IRC_PORT)
sprintf(irc[i].name, "irc");
else
- sprintf(irc[i].name, "irc-%u", i);
+ sprintf(irc[i].name, "irc-%d", i);
ret = nf_conntrack_helper_register(&irc[i]);
if (ret) {
--
1.9.1.352.gd393d14
next prev parent reply other threads:[~2014-03-31 15:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-31 15:43 [PATCH 2/5] netfilter: Fix format string mismatch in mangle_content_len() Masanari Iida
2014-03-31 15:43 ` [PATCH 3/5] netfilter: Fix format string mismatch in _conntrack_tftp_init() Masanari Iida
2014-04-23 12:22 ` Pablo Neira Ayuso
2014-03-31 15:43 ` Masanari Iida [this message]
2014-04-23 12:23 ` [PATCH 4/5] netfilter: Fix format string mismatch in nf_conntrack_irc_init() Pablo Neira Ayuso
2014-03-31 15:43 ` [PATCH 5/5] netfilter: Fix format string mismatch in nf_conntrack_sip_init() Masanari Iida
2014-04-23 12:23 ` Pablo Neira Ayuso
2014-04-23 12:22 ` [PATCH 2/5] netfilter: Fix format string mismatch in mangle_content_len() Pablo Neira Ayuso
2014-04-29 14:21 ` Patrick McHardy
2014-04-29 19:02 ` Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1396280619-31152-3-git-send-email-standby24x7@gmail.com \
--to=standby24x7@gmail.com \
--cc=kaber@trash.net \
--cc=kadlec@blackhole.kfki.hu \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).