diff options
| -rw-r--r-- | examples/hotplugtest.c | 4 | ||||
| -rw-r--r-- | libusb/version_nano.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/hotplugtest.c b/examples/hotplugtest.c index 6cdf0c8..368011b 100644 --- a/examples/hotplugtest.c +++ b/examples/hotplugtest.c @@ -95,7 +95,9 @@ int main(int argc, char *argv[]) } while (done < 2) { - libusb_handle_events (NULL); + rc = libusb_handle_events (NULL); + if (rc < 0) + printf("libusb_handle_events() failed: %s\n", libusb_error_name(rc)); } libusb_exit (NULL); diff --git a/libusb/version_nano.h b/libusb/version_nano.h index a387990..0d147a7 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 10840 +#define LIBUSB_NANO 10841 |
