mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-16 09:34:22 +08: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