Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 03:35:43 -0800 (PST)
From:      David Malone <dwmalone@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/usbhidaction usbhidaction.c
Message-ID:  <200403091135.i29BZhed063856@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403091135.i29BZhed063856>