diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2024-01-30 23:38:51 +0100 |
---|---|---|
committer | Tormod Volden <debian.tormod@gmail.com> | 2024-01-31 12:32:56 +0100 |
commit | 853a5eac64a3821fe650aa6a91719c1e35c940b6 (patch) | |
tree | 1fabc4cd58dfe818209e1d20de5667ada04ad231 | |
parent | fdff3cd395dd5cfbe2a730b02b64d977e78134cd (diff) | |
download | libusb-853a5eac64a3821fe650aa6a91719c1e35c940b6.tar.gz |
examples/hotplugtest: Tone down message about failed open
References #1425
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
-rw-r--r-- | examples/hotplugtest.c | 2 | ||||
-rw-r--r-- | libusb/version_nano.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/hotplugtest.c b/examples/hotplugtest.c index 270fe5a..3e092cf 100644 --- a/examples/hotplugtest.c +++ b/examples/hotplugtest.c @@ -52,7 +52,7 @@ static int LIBUSB_CALL hotplug_callback(libusb_context *ctx, libusb_device *dev, rc = libusb_open (dev, &handle); if (LIBUSB_SUCCESS != rc) { - fprintf (stderr, "Error opening device: %s\n", + fprintf (stderr, "No access to device: %s\n", libusb_strerror((enum libusb_error)rc)); } diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 1890e36..d935421 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11879 +#define LIBUSB_NANO 11880 |