Date: Thu, 27 May 2004 12:23:27 -0700 (PDT) From: Nate Lawson <njl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/apm Makefile apm.c Message-ID: <200405271923.i4RJNRLH086937@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2004/05/27 12:23:27 PDT FreeBSD src repository Modified files: usr.sbin/apm Makefile apm.c Log: Check for >= 255 since sign extension from byte to u_int sometimes makes the value for "unknown" 0xffffffff. The underlying kernel drivers should be updated to only return 255 but the ABI is used by too many userland utilities. Also, make this WARNS 6 compatible. Revision Changes Path 1.17 +1 -0 src/usr.sbin/apm/Makefile 1.32 +39 -43 src/usr.sbin/apm/apm.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405271923.i4RJNRLH086937>