netfilter: Fix format string mismatch in ip_vs_proto_name()

Fix string mismatch in ip_vs_proto_name()

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
Masanari Iida 2014-04-21 09:16:47 +09:00 committed by Pablo Neira Ayuso
parent fd0d192be6
commit 1404c3ab98

View File

@ -97,7 +97,7 @@ const char *ip_vs_proto_name(unsigned int proto)
return "ICMPv6";
#endif
default:
sprintf(buf, "IP_%d", proto);
sprintf(buf, "IP_%u", proto);
return buf;
}
}