summaryrefslogtreecommitdiff
path: root/libusb/version_nano.h
diff options
context:
space:
mode:
authorAymeric Vincent <aymericvincent@free.fr>2019-02-28 22:38:21 +0100
committerNathan Hjelm <hjelmn@me.com>2019-04-04 21:19:07 -0600
commit9501adff2455446aa6ce017525c9d747be67c115 (patch)
tree493760ed89dfab449fc77489f38b8e7da0995fb4 /libusb/version_nano.h
parenta0b5d27fa7f2bba11965e2b70533f925a5772808 (diff)
downloadlibusb-9501adff2455446aa6ce017525c9d747be67c115.tar.gz
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 <hjelmn@me.com>
Diffstat (limited to 'libusb/version_nano.h')
-rw-r--r--libusb/version_nano.h2
1 files changed, 1 insertions, 1 deletions
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