diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-10-07 13:15:23 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-10-07 13:15:23 -0400 |
commit | f5e07479b26c423fc411586dc63788089cb18c0a (patch) | |
tree | c6e0c279e461d7753f866b79a091226f35be69a7 | |
parent | 694629251661647e094462acec3d97ef9393f122 (diff) | |
download | cups-f5e07479b26c423fc411586dc63788089cb18c0a.tar.gz |
Change DEBUG message to ERROR for libusb_init issues (Issue #5658)
-rw-r--r-- | CHANGES.md | 4 | ||||
-rw-r--r-- | backend/usb-libusb.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/CHANGES.md b/CHANGES.md index aab54c676..ba78c244a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,4 @@ -CHANGES - 2.2.13 - 2019-09-05 +CHANGES - 2.2.13 - 2019-10-07 ============================= @@ -8,6 +8,8 @@ Changes in CUPS v2.2.13 - Added a workaround for the scheduler's systemd support (Issue #5640) - Fixed spelling of "fold-accordion". - Fixed the default common name for TLS certificates used by `ippserver`. +- The libusb-based USB backend now reports an error when the distribution + permissions are wrong (Issue #5658) Changes in CUPS v2.2.12 diff --git a/backend/usb-libusb.c b/backend/usb-libusb.c index 042854bba..c03686a63 100644 --- a/backend/usb-libusb.c +++ b/backend/usb-libusb.c @@ -829,8 +829,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); } |