diff options
author | anton <anton@openbsd.org> | 2021-01-19 16:05:59 +0000 |
---|---|---|
committer | anton <anton@openbsd.org> | 2021-01-19 16:05:59 +0000 |
commit | 222f252fd9487b6bd9d7ef3ea93475a2a30b49e8 (patch) | |
tree | 46d84b62e3a8b95ed19d603ee9b725c5a8eaf0dd /share | |
parent | First bits of a regress test that ensures that the decision process (diff) | |
download | wireguard-openbsd-222f252fd9487b6bd9d7ef3ea93475a2a30b49e8.tar.xz wireguard-openbsd-222f252fd9487b6bd9d7ef3ea93475a2a30b49e8.zip |
usb_init_task() wants a struct usb_task as the first argument
ok kn@ mvs@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/usb_add_task.9 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/usb_add_task.9 b/share/man/man9/usb_add_task.9 index 21ded35a8fd..d3885c4af21 100644 --- a/share/man/man9/usb_add_task.9 +++ b/share/man/man9/usb_add_task.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: usb_add_task.9,v 1.2 2016/09/15 18:26:22 jmc Exp $ +.\" $OpenBSD: usb_add_task.9,v 1.3 2021/01/19 16:05:59 anton Exp $ .\" .\" Copyright (c) 2016 Adam Wolk <awolk@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 15 2016 $ +.Dd $Mdocdate: January 19 2021 $ .Dt USB_ADD_TASK 9 .Os .Sh NAME @@ -35,7 +35,7 @@ .Ft void .Fn usb_rem_wait_task "struct usbd_device *dev" "struct usb_task *task" .Ft void -.Fn usb_init_task "struct usbd_device *dev" "void (*fn)(void *)" "void *arg" "char type" +.Fn usb_init_task "struct usb_task *task" "void (*fn)(void *)" "void *arg" "char type" .Sh DESCRIPTION The USB stack provides an API to manage task execution in a thread context at the soonest opportunity. |