Skip to content

Commit

Permalink
Change DEBUG message to ERROR for libusb_init issues (Issue #5658)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Oct 7, 2019
1 parent 6946292 commit f5e0747
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CHANGES - 2.2.13 - 2019-09-05
CHANGES - 2.2.13 - 2019-10-07
=============================


Expand All @@ -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
Expand Down
3 changes: 1 addition & 2 deletions backend/usb-libusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit f5e0747

Please sign in to comment.