mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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>
This commit is contained in:
parent
0c60b14860
commit
8fe8f5821c
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue