[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:
Jan Engelhardt 2007-12-17 22:43:15 -08:00 committed by David S. Miller
parent 051578ccbc
commit df54aae022
8 changed files with 8 additions and 8 deletions

View File

@ -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;
}

View File

@ -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;

View File

@ -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;

View File

@ -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;
}

View File

@ -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;

View File

@ -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;

View File

@ -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';

View File

@ -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;