From: Randy Dunlap <[email protected]>
Fix printk format warning:
drivers/parport/probe.c:205: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
Signed-off-by: Randy Dunlap <[email protected]>
---
drivers/parport/probe.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- linux-2616-rc1.orig/drivers/parport/probe.c
+++ linux-2616-rc1/drivers/parport/probe.c
@@ -199,7 +199,7 @@ static ssize_t parport_read_device_id (s
if (port->physport->ieee1284.phase != IEEE1284_PH_HBUSY_DAVAIL) {
if (belen != len) {
- printk (KERN_DEBUG "%s: Device ID was %d bytes"
+ printk (KERN_DEBUG "%s: Device ID was %zd bytes"
" while device told it would be %d"
" bytes\n",
port->name, len, belen);
---
~Randy