diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/serial/aircable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/aircable.c b/drivers/usb/serial/aircable.c index 8aaf7db9399..2ccd9ded52a 100644 --- a/drivers/usb/serial/aircable.c +++ b/drivers/usb/serial/aircable.c @@ -218,7 +218,7 @@ static void aircable_send(struct usb_serial_port *port) buf = kzalloc(count + HCI_HEADER_LENGTH, GFP_ATOMIC); if (!buf) { - err("%s- kzalloc(%Zd) failed.", __FUNCTION__, + err("%s- kzalloc(%d) failed.", __FUNCTION__, count + HCI_HEADER_LENGTH); return; } @@ -280,7 +280,7 @@ static void aircable_read(void *params) tty_prepare_flip_string(tty, &data, count); if (!data){ - err("%s- kzalloc(%Zd) failed.", __FUNCTION__, count); + err("%s- kzalloc(%d) failed.", __FUNCTION__, count); return; } |