diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2018-02-27 15:23:55 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-09 09:16:19 -0800 |
commit | 0c60b14860fe5f7086d4d9458a7f23ea1d09fcfa (patch) | |
tree | adc84133bac0b2a8f6710907ca35e4b1d25d5cbc /tools | |
parent | 65f4b15cf4db1d6bc7fbe5a49e48f6969af8cd2d (diff) | |
download | talos-obmc-linux-0c60b14860fe5f7086d4d9458a7f23ea1d09fcfa.tar.gz talos-obmc-linux-0c60b14860fe5f7086d4d9458a7f23ea1d09fcfa.zip |
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/usb/usbip/src/usbip_attach.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/usb/usbip/src/usbip_attach.c b/tools/usb/usbip/src/usbip_attach.c index 7f07b2d50f59..f60738735398 100644 --- a/tools/usb/usbip/src/usbip_attach.c +++ b/tools/usb/usbip/src/usbip_attach.c @@ -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; } |