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>
This commit is contained in:
Masanari Iida 2014-02-27 20:36:31 +09:00 committed by Greg Kroah-Hartman
parent 40a46d8b40
commit 5484081d22
1 changed files with 1 additions and 1 deletions

View File

@ -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);