From 9501adff2455446aa6ce017525c9d747be67c115 Mon Sep 17 00:00:00 2001 From: Aymeric Vincent Date: Thu, 28 Feb 2019 22:38:21 +0100 Subject: Initialize the non-control endpoint fds in netbsd_open() Not all users of libusb use libusb_claim_interface(), and in that case, the NetBSD backend fails to open() the necessary /dev/ugenX.Y and will try to send ioctl()s to fd 0, which fortunately fails. This unbreaks e.g. openocd on NetBSD. Closes #539 Signed-off-by: Nathan Hjelm --- libusb/version_nano.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libusb/version_nano.h') diff --git a/libusb/version_nano.h b/libusb/version_nano.h index dc15091..0d6bc45 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11348 +#define LIBUSB_NANO 11349 -- cgit v1.2.1