summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2018-02-27 15:23:56 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-09 09:16:20 -0800
commit8fe8f5821c4ebd1c80099ff0d2b197fd17581a2c (patch)
tree24d7ab9304886a5cf8c6b2a048ca7df271b80959 /tools
parent0c60b14860fe5f7086d4d9458a7f23ea1d09fcfa (diff)
downloadlinux-8fe8f5821c4ebd1c80099ff0d2b197fd17581a2c.tar.bz2
usbip: tools usbip_network: Fix cryptic error messages
Kernel and tool version mismatch message is cryptic. Fix it to be informative. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/usb/usbip/src/usbip_network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/usb/usbip/src/usbip_network.c b/tools/usb/usbip/src/usbip_network.c
index b4c37e76a6e0..90325fa8bc38 100644
--- a/tools/usb/usbip/src/usbip_network.c
+++ b/tools/usb/usbip/src/usbip_network.c
@@ -179,8 +179,8 @@ int usbip_net_recv_op_common(int sockfd, uint16_t *code)
PACK_OP_COMMON(0, &op_common);
if (op_common.version != USBIP_VERSION) {
- dbg("version mismatch: %d %d", op_common.version,
- USBIP_VERSION);
+ err("USBIP Kernel and tool version mismatch: %d %d:",
+ op_common.version, USBIP_VERSION);
goto err;
}