提交 8fe8f582 编写于 作者: S Shuah Khan 提交者: Greg Kroah-Hartman

usbip: tools usbip_network: Fix cryptic error messages

Kernel and tool version mismatch message is cryptic. Fix it to be
informative.
Signed-off-by: NShuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 0c60b148
...@@ -179,8 +179,8 @@ int usbip_net_recv_op_common(int sockfd, uint16_t *code) ...@@ -179,8 +179,8 @@ int usbip_net_recv_op_common(int sockfd, uint16_t *code)
PACK_OP_COMMON(0, &op_common); PACK_OP_COMMON(0, &op_common);
if (op_common.version != USBIP_VERSION) { if (op_common.version != USBIP_VERSION) {
dbg("version mismatch: %d %d", op_common.version, err("USBIP Kernel and tool version mismatch: %d %d:",
USBIP_VERSION); op_common.version, USBIP_VERSION);
goto err; goto err;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册