Fix hid_get_data return type in usbhib.3

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Fix hid_get_data return type in usbhib.3

Hello tech@,

I stumbled with this typo while poking around random manpages. After
finding it, I ran `grep -Fnr -e int_8t -e int_16t -e int_32t -e int_64t
/usr/src` to see if there was other similar typo and just send one
patch with all the fixes. Turns out that a comment in line 1012 from
also has that typo, but dunno if it should be corrected here or in
upstream, hence I left it from the diff.


Index: usbhid.3
RCS file: /cvs/src/lib/libusbhid/usbhid.3,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 usbhid.3
--- usbhid.3 27 May 2018 18:45:51 -0000 1.18
+++ usbhid.3 18 Feb 2019 06:34:52 -0000
@@ -77,7 +77,7 @@
 .Fn hid_init "char *file"
 .Ft int
 .Fn hid_start "char *file"
-.Ft int_32t
+.Ft int32_t
 .Fn hid_get_data "void *data" "hid_item_t *h"
 .Ft void
 .Fn hid_set_data "void *data" "hid_item_t *h" "int32_t data"