svn commit: r240037 - stable/7/usr.sbin/ancontrol
Eitan Adler
eadler at FreeBSD.org
Sun Sep 2 18:10:32 UTC 2012
Author: eadler
Date: Sun Sep 2 18:10:31 2012
New Revision: 240037
URL: http://svn.freebsd.org/changeset/base/240037
Log:
MFC r238221:
Fix always 0 tautologly revealed by gcc46
Approved by: cperciva (implicit)
Modified:
stable/7/usr.sbin/ancontrol/ancontrol.c
Directory Properties:
stable/7/usr.sbin/ancontrol/ (props changed)
Modified: stable/7/usr.sbin/ancontrol/ancontrol.c
==============================================================================
--- stable/7/usr.sbin/ancontrol/ancontrol.c Sun Sep 2 18:10:30 2012 (r240036)
+++ stable/7/usr.sbin/ancontrol/ancontrol.c Sun Sep 2 18:10:31 2012 (r240037)
@@ -1445,7 +1445,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
mailing list