mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 04:32:03 +00:00
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:
parent
fd0d192be6
commit
1404c3ab98
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user