cvs commit: src/usr.sbin/apm apm.c

Warner Losh imp at FreeBSD.org
Wed Jun 30 14:00:47 PDT 2004


imp         2004-06-30 21:00:07 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/apm         apm.c 
  Log:
  Fix to not use 255, but instead use APM_UNKNOWN.
  Compare things correctly against -1 or 0
  Don't print any capabilities if unknown is returned from the kernel.
  
  Reviewed/Submitted by: njl, Liam Foy
  
  Revision  Changes    Path
  1.36      +9 -9      src/usr.sbin/apm/apm.c


More information about the cvs-src mailing list