Commit 025ba7e3 authored by David S. Miller's avatar David S. Miller Committed by Stephen Hemminger

[NETFILTER]: Use correct printf format for size_t in ipt_CLASSIFY.c

parent dc4f10ba
...@@ -41,7 +41,7 @@ checkentry(const char *tablename, ...@@ -41,7 +41,7 @@ checkentry(const char *tablename,
unsigned int hook_mask) unsigned int hook_mask)
{ {
if (targinfosize != IPT_ALIGN(sizeof(struct ipt_classify_target_info))){ if (targinfosize != IPT_ALIGN(sizeof(struct ipt_classify_target_info))){
printk(KERN_ERR "CLASSIFY: invalid size (%u != %u).\n", printk(KERN_ERR "CLASSIFY: invalid size (%u != %Zu).\n",
targinfosize, targinfosize,
IPT_ALIGN(sizeof(struct ipt_classify_target_info))); IPT_ALIGN(sizeof(struct ipt_classify_target_info)));
return 0; 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