summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.md4
-rw-r--r--backend/usb-libusb.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/CHANGES.md b/CHANGES.md
index 0a60e6564..f8540ec63 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,4 +1,4 @@
-CHANGES - 2.3.1 - 2019-10-02
+CHANGES - 2.3.1 - 2019-10-07
============================
@@ -9,6 +9,8 @@ Changes in CUPS v2.3.1
- Fixed spelling of "fold-accordion".
- Fixed the default common name for TLS certificates used by `ippeveprinter`.
- Fixed a bug in the handling of printer resource files (Issue #5652)
+- The libusb-based USB backend now reports an error when the distribution
+ permissions are wrong (Issue #5658)
Changes in CUPS v2.3.0
diff --git a/backend/usb-libusb.c b/backend/usb-libusb.c
index 87606ac13..1c4d9f117 100644
--- a/backend/usb-libusb.c
+++ b/backend/usb-libusb.c
@@ -826,8 +826,7 @@ find_device(usb_cb_t cb, /* I - Callback function */
err = libusb_init(NULL);
if (err)
{
- fprintf(stderr, "DEBUG: Unable to initialize USB access via libusb, "
- "libusb error %i\n", (int)err);
+ fprintf(stderr, "ERROR: Unable to initialize USB access via libusb, libusb error %i (%s)\n", (int)err, libusb_strerror((int)err));
return (NULL);
}