Fix variable type for dev_err about usb_bulk_msg()

Signed-off-by: Kim Jae Joong <[email protected]>
---
 drivers/usb/misc/rio500.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/misc/rio500.c b/drivers/usb/misc/rio500.c
index 13731d5..fc329c9 100644
--- a/drivers/usb/misc/rio500.c
+++ b/drivers/usb/misc/rio500.c
@@ -421,7 +421,7 @@ static long ioctl_rio(struct file *file, unsigned int cmd, 
unsigned long arg)
                } else if (result != -EREMOTEIO) {
                        mutex_unlock(&(rio->lock));
                        dev_err(&rio->rio_dev->dev,
-                               "Read Whoops - result:%u partial:%u 
this_read:%u\n",
+                               "Read Whoops - result:%d partial:%u 
this_read:%u\n",
                                result, partial, this_read);
                        return -EIO;
                } else {
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to