Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Shuah Khan and committed by
Greg Kroah-Hartman
0c60b148 65f4b15c

+2 -1
+2 -1
tools/usb/usbip/src/usbip_attach.c
··· 195 195 196 196 rhport = query_import_device(sockfd, busid); 197 197 if (rhport < 0) { 198 - err("query"); 198 + err("Attach request for Device %s. Is this device exported?", 199 + busid); 199 200 return -1; 200 201 } 201 202