From 853a5eac64a3821fe650aa6a91719c1e35c940b6 Mon Sep 17 00:00:00 2001 From: Tormod Volden Date: Tue, 30 Jan 2024 23:38:51 +0100 Subject: examples/hotplugtest: Tone down message about failed open References #1425 Signed-off-by: Tormod Volden --- examples/hotplugtest.c | 2 +- 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 -- cgit v1.2.3