Commit a870c8c5 authored by Simon Horman's avatar Simon Horman Committed by Patrick McHardy

IPVS: use z modifier for sizeof() argument

Reported-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarHans Schillstrom <hans@schillstrom.com>
Tested-by: default avatarHans Schillstrom <hans@schillstrom.com>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent a00f1f36
......@@ -1887,7 +1887,7 @@ static int __net_init __ip_vs_init(struct net *net)
ipvs->gen = atomic_read(&ipvs_netns_cnt);
atomic_inc(&ipvs_netns_cnt);
net->ipvs = ipvs;
printk(KERN_INFO "IPVS: Creating netns size=%lu id=%d\n",
printk(KERN_INFO "IPVS: Creating netns size=%zu id=%d\n",
sizeof(struct netns_ipvs), ipvs->gen);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment