summaryrefslogtreecommitdiffstats
path: root/usr.sbin/apm/Makefile
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-05-27 19:23:27 +0000
committernjl <njl@FreeBSD.org>2004-05-27 19:23:27 +0000
commit543df2d4d6104ac8fe1444129a7c7fb47b488b3f (patch)
treeab52a84242734802742a6cc269515b041ae6f8c8 /usr.sbin/apm/Makefile
parentfa603e929d266049001b489b9a22e7a556d4b6e0 (diff)
downloadFreeBSD-src-543df2d4d6104ac8fe1444129a7c7fb47b488b3f.zip
FreeBSD-src-543df2d4d6104ac8fe1444129a7c7fb47b488b3f.tar.gz
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.
Diffstat (limited to 'usr.sbin/apm/Makefile')
-rw-r--r--usr.sbin/apm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/apm/Makefile b/usr.sbin/apm/Makefile
index 7e71e50..043c3c7 100644
--- a/usr.sbin/apm/Makefile
+++ b/usr.sbin/apm/Makefile
@@ -4,5 +4,6 @@ PROG= apm
MAN= apm.8
MLINKS= apm.8 apmconf.8
MANSUBDIR= /i386
+WARNS?= 6
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud