]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
[NETFILTER]: x_tables: use %u format specifiers
authorJan Engelhardt <jengelh@computergmbh.de>
Tue, 18 Dec 2007 06:43:15 +0000 (22:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:59:07 +0000 (14:59 -0800)
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>
net/ipv4/netfilter/ipt_CLUSTERIP.c
net/netfilter/xt_CONNMARK.c
net/netfilter/xt_CONNSECMARK.c
net/netfilter/xt_connbytes.c
net/netfilter/xt_connmark.c
net/netfilter/xt_conntrack.c
net/netfilter/xt_helper.c
net/netfilter/xt_state.c

index dc1e7b4188310d8d6c21091574817ed9bad8c4c6..a48e26449fd57e5b2b6453e32b8518b183cf3f57 100644 (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;
        }
 
index d96ee3e0ba22e63eba2d247a0a4288105e77a6f0..ec2eb341d2e60ee3dd7bf9f68f4829bed4d53f6d 100644 (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;
index 2333f7e29bc94368f7dc57e86ee0894fe794f538..024106bdd378ae8cccece1379e4a269e741edd6d 100644 (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;
index 752b7d8bbc907bdc6215d12f914cde1a193ae36b..7d4940adc3c1861f984fca94c6ea89255492d34c 100644 (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;
        }
 
index b5c0f2fe6997bc15df0ed5c0be0c30f74062e66a..8ad875bc1589a39e741cac54e70cf3c9f8dca390 100644 (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;
index eb7e135ca6c692fc859a6144abf8535a0a8a072f..8c1d448c973e6f695cabf97242603810e2daf19b 100644 (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;
index f342788a5766489dc35c5652036baca041541c99..5d063e51f889e7f01f1c44de0a412036078851ca 100644 (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';
index 2e1716d425bd296fa418e65f851133a69d5a08de..a776dc36a19343ae678cf192baa7ae680c4e1478 100644 (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;