Skip to content

Commit

Permalink
Change DEBUG message to ERROR for libusb_init (Issue #5658)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Oct 7, 2019
1 parent 2b47f09 commit 99c3e9f
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.3.1 - 2019-10-02
CHANGES - 2.3.1 - 2019-10-07
============================


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

Expand Down

0 comments on commit 99c3e9f

Please sign in to comment.