mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
[NETFILTER]: x_tables: use %u format specifiers
Use %u format specifiers as ->family is unsigned. Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
051578ccbc
commit
df54aae022
@ -414,7 +414,7 @@ clusterip_tg_check(const char *tablename, const void *e_void,
|
||||
|
||||
if (nf_ct_l3proto_try_module_get(target->family) < 0) {
|
||||
printk(KERN_WARNING "can't load conntrack support for "
|
||||
"proto=%d\n", target->family);
|
||||
"proto=%u\n", target->family);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -95,7 +95,7 @@ connmark_tg_check(const char *tablename, const void *entry,
|
||||
}
|
||||
if (nf_ct_l3proto_try_module_get(target->family) < 0) {
|
||||
printk(KERN_WARNING "can't load conntrack support for "
|
||||
"proto=%d\n", target->family);
|
||||
"proto=%u\n", target->family);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
@ -106,7 +106,7 @@ connsecmark_tg_check(const char *tablename, const void *entry,
|
||||
|
||||
if (nf_ct_l3proto_try_module_get(target->family) < 0) {
|
||||
printk(KERN_WARNING "can't load conntrack support for "
|
||||
"proto=%d\n", target->family);
|
||||
"proto=%u\n", target->family);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
@ -111,7 +111,7 @@ connbytes_mt_check(const char *tablename, const void *ip,
|
||||
|
||||
if (nf_ct_l3proto_try_module_get(match->family) < 0) {
|
||||
printk(KERN_WARNING "can't load conntrack support for "
|
||||
"proto=%d\n", match->family);
|
||||
"proto=%u\n", match->family);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -61,7 +61,7 @@ connmark_mt_check(const char *tablename, const void *ip,
|
||||
}
|
||||
if (nf_ct_l3proto_try_module_get(match->family) < 0) {
|
||||
printk(KERN_WARNING "can't load conntrack support for "
|
||||
"proto=%d\n", match->family);
|
||||
"proto=%u\n", match->family);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
@ -117,7 +117,7 @@ conntrack_mt_check(const char *tablename, const void *ip,
|
||||
{
|
||||
if (nf_ct_l3proto_try_module_get(match->family) < 0) {
|
||||
printk(KERN_WARNING "can't load conntrack support for "
|
||||
"proto=%d\n", match->family);
|
||||
"proto=%u\n", match->family);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
@ -66,7 +66,7 @@ helper_mt_check(const char *tablename, const void *inf,
|
||||
|
||||
if (nf_ct_l3proto_try_module_get(match->family) < 0) {
|
||||
printk(KERN_WARNING "can't load conntrack support for "
|
||||
"proto=%d\n", match->family);
|
||||
"proto=%u\n", match->family);
|
||||
return false;
|
||||
}
|
||||
info->name[29] = '\0';
|
||||
|
@ -47,7 +47,7 @@ state_mt_check(const char *tablename, const void *inf,
|
||||
{
|
||||
if (nf_ct_l3proto_try_module_get(match->family) < 0) {
|
||||
printk(KERN_WARNING "can't load conntrack support for "
|
||||
"proto=%d\n", match->family);
|
||||
"proto=%u\n", match->family);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user