diff options
Diffstat (limited to 'drivers/usb/class/usbtmc.c')
-rw-r--r-- | drivers/usb/class/usbtmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/class/usbtmc.c b/drivers/usb/class/usbtmc.c index 5bab8e596c88..40ef4da786d8 100644 --- a/drivers/usb/class/usbtmc.c +++ b/drivers/usb/class/usbtmc.c | |||
@@ -463,7 +463,7 @@ static ssize_t usbtmc_read(struct file *filp, char __user *buf, | |||
463 | 463 | ||
464 | /* Ensure the instrument doesn't lie about it */ | 464 | /* Ensure the instrument doesn't lie about it */ |
465 | if(n_characters > actual - 12) { | 465 | if(n_characters > actual - 12) { |
466 | dev_err(dev, "Device lies about message size: %zu > %zu\n", n_characters, actual - 12); | 466 | dev_err(dev, "Device lies about message size: %u > %d\n", n_characters, actual - 12); |
467 | n_characters = actual - 12; | 467 | n_characters = actual - 12; |
468 | } | 468 | } |
469 | 469 | ||