提交 0c60b148 编写于 作者: S Shuah Khan 提交者: Greg Kroah-Hartman

usbip: tools usbip_attach: Fix cryptic error messages

Attach device error message is cryptic and useless. Fix it to be
informative.
Signed-off-by: NShuah Khan <shuahkh@osg.samsung.com>
Reviewed-by: NKrzysztof Opasiak <k.opasiak@samsung.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 65f4b15c
......@@ -195,7 +195,8 @@ static int attach_device(char *host, char *busid)
rhport = query_import_device(sockfd, busid);
if (rhport < 0) {
err("query");
err("Attach request for Device %s. Is this device exported?",
busid);
return -1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册