diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-09-02 15:41:23 -0700 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-10-19 15:55:51 +0900 |
commit | 59bdc4be0b819173a8f840fc11ccb82d6f2ca64b (patch) | |
tree | f984caa23124ddc13c2251afd31cb3f3aeb9d253 /drivers/net/wimax/i2400m/usb-fw.c | |
parent | 4c2b1a11646bf74e2926ce8b13a21884adc1e05c (diff) | |
download | blackbird-op-linux-59bdc4be0b819173a8f840fc11ccb82d6f2ca64b.tar.gz blackbird-op-linux-59bdc4be0b819173a8f840fc11ccb82d6f2ca64b.zip |
wimax/i2400m: workaround not-so-working %zd printf format
The kernel's %zd modifier does not really work. Use %ld (has to cast
ssize_t to long).
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'drivers/net/wimax/i2400m/usb-fw.c')
-rw-r--r-- | drivers/net/wimax/i2400m/usb-fw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wimax/i2400m/usb-fw.c b/drivers/net/wimax/i2400m/usb-fw.c index f162c815d505..b59aee0ee649 100644 --- a/drivers/net/wimax/i2400m/usb-fw.c +++ b/drivers/net/wimax/i2400m/usb-fw.c @@ -330,8 +330,8 @@ error_dev_gone: out: if (do_autopm) usb_autopm_put_interface(i2400mu->usb_iface); - d_fnend(8, dev, "(i2400m %p ack %p size %zu) = %zd\n", - i2400m, ack, ack_size, result); + d_fnend(8, dev, "(i2400m %p ack %p size %zu) = %ld\n", + i2400m, ack, ack_size, (long) result); return result; error_exceeded: |