cvs commit: src/usr.bin/usbhidaction usbhidaction.c
David Malone
dwmalone at FreeBSD.org
Tue Mar 9 03:35:44 PST 2004
dwmalone 2004/03/09 03:35:43 PST
FreeBSD src repository
Modified files:
usr.bin/usbhidaction usbhidaction.c
Log:
Misc fixes brought to light by WARNS=6:
1) Constness, unusedness and size_tness.
2) Don't clobber the value returned by hid_report_size in the daemon case.
3) Don't misspell "sizeof buf" as 100.
4) Don't run off the end of a buffer if the pid is about a google.
5) Avoid shadowing the usage function.
Revision Changes Path
1.4 +17 -14 src/usr.bin/usbhidaction/usbhidaction.c
More information about the cvs-src
mailing list