diff options
author | William Orr <will@worrbase.com> | 2019-07-12 23:18:27 +0200 |
---|---|---|
committer | Nathan Hjelm <hjelmn@google.com> | 2019-08-09 09:14:39 -0700 |
commit | 6acbd8b4051bbdf7d7e757f7a5f337c51d69df85 (patch) | |
tree | 9260fed97ec8c3a36d0b76bd85be6c63ec87b185 | |
parent | 26eb7ff2188eb19535c0ad0cb2c8e3c588cf6c68 (diff) | |
download | libusb-6acbd8b4051bbdf7d7e757f7a5f337c51d69df85.tar.gz |
Remove infinite recursion in OpenBSD backend
`usbi_dbg` calls `usbi_backend.clock_gettime`, so `obsd_clock_gettime` should
not call `usbi_dbg`
Signed-off-by: Nathan Hjelm <hjelmn@google.com>
-rw-r--r-- | libusb/os/openbsd_usb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libusb/os/openbsd_usb.c b/libusb/os/openbsd_usb.c index a39c0f2..7e8197d 100644 --- a/libusb/os/openbsd_usb.c +++ b/libusb/os/openbsd_usb.c @@ -519,8 +519,6 @@ obsd_handle_transfer_completion(struct usbi_transfer *itransfer) int obsd_clock_gettime(int clkid, struct timespec *tp) { - usbi_dbg("clock %d", clkid); - if (clkid == USBI_CLOCK_REALTIME) return clock_gettime(CLOCK_REALTIME, tp); |