diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2007-12-18 01:43:15 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:59:07 -0500 |
commit | df54aae02210e1acf3a1d2ffac9b29003835710c (patch) | |
tree | d47f56e3531e2ea4044dec6c2bc05b71ed190c8b | |
parent | 051578ccbcdad3b24b621dfb652194e36759e8d5 (diff) |
[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>
-rw-r--r-- | net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 | ||||
-rw-r--r-- | net/netfilter/xt_CONNMARK.c | 2 | ||||
-rw-r--r-- | net/netfilter/xt_CONNSECMARK.c | 2 | ||||
-rw-r--r-- | net/netfilter/xt_connbytes.c | 2 | ||||
-rw-r--r-- | net/netfilter/xt_connmark.c | 2 | ||||
-rw-r--r-- | net/netfilter/xt_conntrack.c | 2 | ||||
-rw-r--r-- | net/netfilter/xt_helper.c | 2 | ||||
-rw-r--r-- | net/netfilter/xt_state.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/net/ipv4/netfilter/ipt_CLUSTERIP.c b/net/ipv4/netfilter/ipt_CLUSTERIP.c index dc1e7b418831..a48e26449fd5 100644 --- a/net/ipv4/netfilter/ipt_CLUSTERIP.c +++ b/net/ipv4/netfilter/ipt_CLUSTERIP.c | |||
@@ -414,7 +414,7 @@ clusterip_tg_check(const char *tablename, const void *e_void, | |||
414 | 414 | ||
415 | if (nf_ct_l3proto_try_module_get(target->family) < 0) { | 415 | if (nf_ct_l3proto_try_module_get(target->family) < 0) { |
416 | printk(KERN_WARNING "can't load conntrack support for " | 416 | printk(KERN_WARNING "can't load conntrack support for " |
417 | "proto=%d\n", target->family); | 417 | "proto=%u\n", target->family); |
418 | return false; | 418 | return false; |
419 | } | 419 | } |
420 | 420 | ||
diff --git a/net/netfilter/xt_CONNMARK.c b/net/netfilter/xt_CONNMARK.c index d96ee3e0ba22..ec2eb341d2e6 100644 --- a/net/netfilter/xt_CONNMARK.c +++ b/net/netfilter/xt_CONNMARK.c | |||
@@ -95,7 +95,7 @@ connmark_tg_check(const char *tablename, const void *entry, | |||
95 | } | 95 | } |
96 | if (nf_ct_l3proto_try_module_get(target->family) < 0) { | 96 | if (nf_ct_l3proto_try_module_get(target->family) < 0) { |
97 | printk(KERN_WARNING "can't load conntrack support for " | 97 | printk(KERN_WARNING "can't load conntrack support for " |
98 | "proto=%d\n", target->family); | 98 | "proto=%u\n", target->family); |
99 | return false; | 99 | return false; |
100 | } | 100 | } |
101 | return true; | 101 | return true; |
diff --git a/net/netfilter/xt_CONNSECMARK.c b/net/netfilter/xt_CONNSECMARK.c index 2333f7e29bc9..024106bdd378 100644 --- a/net/netfilter/xt_CONNSECMARK.c +++ b/net/netfilter/xt_CONNSECMARK.c | |||
@@ -106,7 +106,7 @@ connsecmark_tg_check(const char *tablename, const void *entry, | |||
106 | 106 | ||
107 | if (nf_ct_l3proto_try_module_get(target->family) < 0) { | 107 | if (nf_ct_l3proto_try_module_get(target->family) < 0) { |
108 | printk(KERN_WARNING "can't load conntrack support for " | 108 | printk(KERN_WARNING "can't load conntrack support for " |
109 | "proto=%d\n", target->family); | 109 | "proto=%u\n", target->family); |
110 | return false; | 110 | return false; |
111 | } | 111 | } |
112 | return true; | 112 | return true; |
diff --git a/net/netfilter/xt_connbytes.c b/net/netfilter/xt_connbytes.c index 752b7d8bbc90..7d4940adc3c1 100644 --- a/net/netfilter/xt_connbytes.c +++ b/net/netfilter/xt_connbytes.c | |||
@@ -111,7 +111,7 @@ connbytes_mt_check(const char *tablename, const void *ip, | |||
111 | 111 | ||
112 | if (nf_ct_l3proto_try_module_get(match->family) < 0) { | 112 | if (nf_ct_l3proto_try_module_get(match->family) < 0) { |
113 | printk(KERN_WARNING "can't load conntrack support for " | 113 | printk(KERN_WARNING "can't load conntrack support for " |
114 | "proto=%d\n", match->family); | 114 | "proto=%u\n", match->family); |
115 | return false; | 115 | return false; |
116 | } | 116 | } |
117 | 117 | ||
diff --git a/net/netfilter/xt_connmark.c b/net/netfilter/xt_connmark.c index b5c0f2fe6997..8ad875bc1589 100644 --- a/net/netfilter/xt_connmark.c +++ b/net/netfilter/xt_connmark.c | |||
@@ -61,7 +61,7 @@ connmark_mt_check(const char *tablename, const void *ip, | |||
61 | } | 61 | } |
62 | if (nf_ct_l3proto_try_module_get(match->family) < 0) { | 62 | if (nf_ct_l3proto_try_module_get(match->family) < 0) { |
63 | printk(KERN_WARNING "can't load conntrack support for " | 63 | printk(KERN_WARNING "can't load conntrack support for " |
64 | "proto=%d\n", match->family); | 64 | "proto=%u\n", match->family); |
65 | return false; | 65 | return false; |
66 | } | 66 | } |
67 | return true; | 67 | return true; |
diff --git a/net/netfilter/xt_conntrack.c b/net/netfilter/xt_conntrack.c index eb7e135ca6c6..8c1d448c973e 100644 --- a/net/netfilter/xt_conntrack.c +++ b/net/netfilter/xt_conntrack.c | |||
@@ -117,7 +117,7 @@ conntrack_mt_check(const char *tablename, const void *ip, | |||
117 | { | 117 | { |
118 | if (nf_ct_l3proto_try_module_get(match->family) < 0) { | 118 | if (nf_ct_l3proto_try_module_get(match->family) < 0) { |
119 | printk(KERN_WARNING "can't load conntrack support for " | 119 | printk(KERN_WARNING "can't load conntrack support for " |
120 | "proto=%d\n", match->family); | 120 | "proto=%u\n", match->family); |
121 | return false; | 121 | return false; |
122 | } | 122 | } |
123 | return true; | 123 | return true; |
diff --git a/net/netfilter/xt_helper.c b/net/netfilter/xt_helper.c index f342788a5766..5d063e51f889 100644 --- a/net/netfilter/xt_helper.c +++ b/net/netfilter/xt_helper.c | |||
@@ -66,7 +66,7 @@ helper_mt_check(const char *tablename, const void *inf, | |||
66 | 66 | ||
67 | if (nf_ct_l3proto_try_module_get(match->family) < 0) { | 67 | if (nf_ct_l3proto_try_module_get(match->family) < 0) { |
68 | printk(KERN_WARNING "can't load conntrack support for " | 68 | printk(KERN_WARNING "can't load conntrack support for " |
69 | "proto=%d\n", match->family); | 69 | "proto=%u\n", match->family); |
70 | return false; | 70 | return false; |
71 | } | 71 | } |
72 | info->name[29] = '\0'; | 72 | info->name[29] = '\0'; |
diff --git a/net/netfilter/xt_state.c b/net/netfilter/xt_state.c index 2e1716d425bd..a776dc36a193 100644 --- a/net/netfilter/xt_state.c +++ b/net/netfilter/xt_state.c | |||
@@ -47,7 +47,7 @@ state_mt_check(const char *tablename, const void *inf, | |||
47 | { | 47 | { |
48 | if (nf_ct_l3proto_try_module_get(match->family) < 0) { | 48 | if (nf_ct_l3proto_try_module_get(match->family) < 0) { |
49 | printk(KERN_WARNING "can't load conntrack support for " | 49 | printk(KERN_WARNING "can't load conntrack support for " |
50 | "proto=%d\n", match->family); | 50 | "proto=%u\n", match->family); |
51 | return false; | 51 | return false; |
52 | } | 52 | } |
53 | return true; | 53 | return true; |