freebsd-nq/usr.sbin/apm
Warner Losh 6084486fd6 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
2004-06-30 21:00:07 +00:00
..
apm.8 Mark APM manpages as i386-only. 2004-01-21 13:38:17 +00:00
apm.c Fix to not use 255, but instead use APM_UNKNOWN. 2004-06-30 21:00:07 +00:00
Makefile Check for >= 255 since sign extension from byte to u_int sometimes makes 2004-05-27 19:23:27 +00:00