diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-06-14 09:37:05 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2013-06-14 09:48:40 +0200 |
commit | 41091f7a6ba7b0243f064b1999f7b4af84f6c3cf (patch) | |
tree | d2aa0470c40fb39e9a6946fce702e267e595e4fa | |
parent | cf8a313b2cdb6a25f00730452aab9130cac5c52b (diff) | |
download | libusb-41091f7a6ba7b0243f064b1999f7b4af84f6c3cf.tar.gz |
linux_udev: Log error code on pthread_create failure
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r-- | libusb/os/linux_udev.c | 2 | ||||
-rw-r--r-- | libusb/version_nano.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libusb/os/linux_udev.c b/libusb/os/linux_udev.c index 4a45c4b..27ee7ed 100644 --- a/libusb/os/linux_udev.c +++ b/libusb/os/linux_udev.c @@ -84,7 +84,7 @@ int linux_udev_start_event_monitor(void) r = pthread_create(&linux_event_thread, NULL, linux_udev_event_thread_main, NULL); if (r) { - usbi_err(NULL, "could not create linux hotplug event thread"); + usbi_err(NULL, "creating hotplug event thread (%d)", r); goto err_free_monitor; } diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 40cf92b..f115614 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 10734 +#define LIBUSB_NANO 10735 |