projects
/
platform
/
upstream
/
libusb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26eb7ff
)
Remove infinite recursion in OpenBSD backend
author
William Orr
<will@worrbase.com>
Fri, 12 Jul 2019 21:18:27 +0000
(23:18 +0200)
committer
Nathan Hjelm
<hjelmn@google.com>
Fri, 9 Aug 2019 16:14:39 +0000
(09:14 -0700)
`usbi_dbg` calls `usbi_backend.clock_gettime`, so `obsd_clock_gettime` should
not call `usbi_dbg`
Signed-off-by: Nathan Hjelm <hjelmn@google.com>
libusb/os/openbsd_usb.c
patch
|
blob
|
history
diff --git
a/libusb/os/openbsd_usb.c
b/libusb/os/openbsd_usb.c
index
a39c0f2
..
7e8197d
100644
(file)
--- 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);