Commit 498c1003 authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[NET]: Fix printk warnings in wireless/strip.c

parent a7b97e42
......@@ -1727,7 +1727,7 @@ static void get_radio_version(struct strip *strip_info, __u8 * ptr, __u8 * end)
sprintf(strip_info->serial_number.c, "%.*s", len, p);
} else {
printk(KERN_DEBUG
"STRIP: radio serial number shorter (%d) than expected (%d)\n",
"STRIP: radio serial number shorter (%zd) than expected (%d)\n",
end - p, len);
}
}
......@@ -1745,7 +1745,7 @@ static void get_radio_voltage(struct strip *strip_info, __u8 * ptr, __u8 * end)
sprintf(strip_info->battery_voltage.c, "%.*s", len, ptr);
} else {
printk(KERN_DEBUG
"STRIP: radio voltage string shorter (%d) than expected (%d)\n",
"STRIP: radio voltage string shorter (%zd) than expected (%d)\n",
end - ptr, len);
}
}
......
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