svn commit: r240036 - stable/8/usr.sbin/ancontrol
Eitan Adler
eadler at FreeBSD.org
Sun Sep 2 18:10:31 UTC 2012
Author: eadler
Date: Sun Sep 2 18:10:30 2012
New Revision: 240036
URL: http://svn.freebsd.org/changeset/base/240036
Log:
MFC r238221:
Fix always 0 tautologly revealed by gcc46
Approved by: cperciva (implicit)
Modified:
stable/8/usr.sbin/ancontrol/ancontrol.c
Directory Properties:
stable/8/usr.sbin/ancontrol/ (props changed)
Modified: stable/8/usr.sbin/ancontrol/ancontrol.c
==============================================================================
--- stable/8/usr.sbin/ancontrol/ancontrol.c Sun Sep 2 18:10:29 2012 (r240035)
+++ stable/8/usr.sbin/ancontrol/ancontrol.c Sun Sep 2 18:10:30 2012 (r240036)
@@ -1444,7 +1444,7 @@ an_enable_leap_mode(const char *iface, c
caps = (struct an_ltv_caps *)&areq;
- if (!caps->an_softcaps & AN_AUTHTYPE_LEAP) {
+ if (!(caps->an_softcaps & AN_AUTHTYPE_LEAP)) {
fprintf(stderr, "Firmware does not support LEAP\n");
exit(1);
}
More information about the svn-src-stable-8
mailing list