mirror of
https://github.com/libusb/libusb
synced 2024-11-21 06:26:10 -07:00
openbsd: Use default clause in _errno_to_libusb()
Same as for NetBSD. Closes #1295 Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
This commit is contained in:
parent
bc12cda784
commit
d04fc0e60b
2 changed files with 3 additions and 3 deletions
|
@ -495,9 +495,9 @@ _errno_to_libusb(int err)
|
|||
return LIBUSB_ERROR_NO_MEM;
|
||||
case ETIMEDOUT:
|
||||
return LIBUSB_ERROR_TIMEOUT;
|
||||
default:
|
||||
return LIBUSB_ERROR_OTHER;
|
||||
}
|
||||
|
||||
return LIBUSB_ERROR_OTHER;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
@ -1 +1 @@
|
|||
#define LIBUSB_NANO 11930
|
||||
#define LIBUSB_NANO 11931
|
||||
|
|
Loading…
Reference in a new issue