mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
usbip: tools usbip_attach: Fix cryptic error messages
Attach device error message is cryptic and useless. Fix it to be informative. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Reviewed-by: Krzysztof Opasiak <k.opasiak@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
65f4b15cf4
commit
0c60b14860
1 changed files with 2 additions and 1 deletions
|
@ -195,7 +195,8 @@ static int attach_device(char *host, char *busid)
|
||||||
|
|
||||||
rhport = query_import_device(sockfd, busid);
|
rhport = query_import_device(sockfd, busid);
|
||||||
if (rhport < 0) {
|
if (rhport < 0) {
|
||||||
err("query");
|
err("Attach request for Device %s. Is this device exported?",
|
||||||
|
busid);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue