Commit 52752ef9 authored by David S. Miller's avatar David S. Miller Committed by David S. Miller

[EBTABLES]: Print size_t type properly in ebt_among.c

parent 98ad82bf
...@@ -175,7 +175,7 @@ static int ebt_among_check(const char *tablename, unsigned int hookmask, ...@@ -175,7 +175,7 @@ static int ebt_among_check(const char *tablename, unsigned int hookmask,
if (datalen != EBT_ALIGN(expected_length)) { if (datalen != EBT_ALIGN(expected_length)) {
printk(KERN_WARNING printk(KERN_WARNING
"ebtables: among: wrong size: %d" "ebtables: among: wrong size: %d"
"against expected %d, rounded to %d\n", "against expected %d, rounded to %Zd\n",
datalen, expected_length, datalen, expected_length,
EBT_ALIGN(expected_length)); EBT_ALIGN(expected_length));
return -EINVAL; return -EINVAL;
......
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