diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-10-07 13:14:10 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-10-07 13:14:10 -0400 |
commit | 99c3e9f3f2a18d76fa080f6460bafed74a21bf6c (patch) | |
tree | 41660b10cc4c02102a156b088161181791558bd2 /backend | |
parent | 2b47f0916272082d296d9a488e9c249687f91aaa (diff) | |
download | cups-99c3e9f3f2a18d76fa080f6460bafed74a21bf6c.tar.gz |
Change DEBUG message to ERROR for libusb_init (Issue #5658)
Diffstat (limited to 'backend')
-rw-r--r-- | backend/usb-libusb.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); } |