Linux: fix log message that was being unconditionally sent to stderr (#44)
authorDaniel Drake <dan@reactivated.net>
Tue, 22 Jun 2010 23:20:23 +0000 (18:20 -0500)
committerDaniel Drake <dan@reactivated.net>
Tue, 22 Jun 2010 23:20:23 +0000 (18:20 -0500)
commit22d61cd0891d8304dfc1a70579cf154fd8e6644a
tree5d87c5a86dd7b18b4f1f3423d642cad2512b8708
parent82065a2c5e9d5ad0b2bb28792d12462f2fa150f0
Linux: fix log message that was being unconditionally sent to stderr (#44)

This message was put in place to aid libusb-compat-0.1 users, who
may run into the change that libusb-0.1 allowed you to usb_open() a
device that you don't have write access to, but libusb-1.0 does not.

As explained on the ticket this change is dangerous so it should go through
the usual logging mechanism. I also added a similar regular log message
to libusb-compat-0.1.
libusb/os/linux_usbfs.c