diff options
author | Simon Horman <horms@verge.net.au> | 2011-02-01 12:21:53 -0500 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2011-02-01 12:21:53 -0500 |
commit | a870c8c5cbe41bcf42cf4fa9f43d969b5134090b (patch) | |
tree | fd473bd349c0a6c45998431b9989d0581effc386 | |
parent | a00f1f3686d6a062b5295c092a9dff059adbdbf5 (diff) |
IPVS: use z modifier for sizeof() argument
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Hans Schillstrom <hans@schillstrom.com>
Tested-by: Hans Schillstrom <hans@schillstrom.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
-rw-r--r-- | net/netfilter/ipvs/ip_vs_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_core.c b/net/netfilter/ipvs/ip_vs_core.c index d889f4f6be99..4d06617fab6c 100644 --- a/net/netfilter/ipvs/ip_vs_core.c +++ b/net/netfilter/ipvs/ip_vs_core.c | |||
@@ -1887,7 +1887,7 @@ static int __net_init __ip_vs_init(struct net *net) | |||
1887 | ipvs->gen = atomic_read(&ipvs_netns_cnt); | 1887 | ipvs->gen = atomic_read(&ipvs_netns_cnt); |
1888 | atomic_inc(&ipvs_netns_cnt); | 1888 | atomic_inc(&ipvs_netns_cnt); |
1889 | net->ipvs = ipvs; | 1889 | net->ipvs = ipvs; |
1890 | printk(KERN_INFO "IPVS: Creating netns size=%lu id=%d\n", | 1890 | printk(KERN_INFO "IPVS: Creating netns size=%zu id=%d\n", |
1891 | sizeof(struct netns_ipvs), ipvs->gen); | 1891 | sizeof(struct netns_ipvs), ipvs->gen); |
1892 | return 0; | 1892 | return 0; |
1893 | } | 1893 | } |