diff options
| author | 2014-02-27 20:36:31 +0900 | |
|---|---|---|
| committer | 2014-02-27 15:12:12 -0800 | |
| commit | 5484081d2203517602b76ea281bac98a1ab7f144 (patch) | |
| tree | 2c653cd258072aa8c89b3a3d29a2dab44c2cae5a | |
| parent | staging: rtl8188eu: Fix typo in rtl8188eu/core (diff) | |
staging: usbip: Fix format string mismatch in usbip_vhci_attach_device2
Argument type of sockfd is set as int, but format string
is set as unsigned int. Fix the mismatch.
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/usbip/userspace/libsrc/vhci_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/usbip/userspace/libsrc/vhci_driver.c b/drivers/staging/usbip/userspace/libsrc/vhci_driver.c index f4bfefec5fcc..d80d37c64cb3 100644 --- a/drivers/staging/usbip/userspace/libsrc/vhci_driver.c +++ b/drivers/staging/usbip/userspace/libsrc/vhci_driver.c @@ -545,7 +545,7 @@ int usbip_vhci_attach_device2(uint8_t port, int sockfd, uint32_t devid, return -1; } - snprintf(buff, sizeof(buff), "%u %u %u %u", + snprintf(buff, sizeof(buff), "%u %d %u %u", port, sockfd, devid, speed); dbg("writing: %s", buff); |
