svn commit: r238221 - head/usr.sbin/ancontrol
Eitan Adler
eadler at FreeBSD.org
Sun Jul 8 00:52:55 UTC 2012
Author: eadler
Date: Sun Jul 8 00:52:54 2012
New Revision: 238221
URL: http://svn.freebsd.org/changeset/base/238221
Log:
Fix always 0 tautologly revealed by gcc46
Approved by: cperciva
MFC after: 1 week
Modified:
head/usr.sbin/ancontrol/ancontrol.c
Modified: head/usr.sbin/ancontrol/ancontrol.c
==============================================================================
--- head/usr.sbin/ancontrol/ancontrol.c Sun Jul 8 00:51:38 2012 (r238220)
+++ head/usr.sbin/ancontrol/ancontrol.c Sun Jul 8 00:52:54 2012 (r238221)
@@ -1443,7 +1443,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-head
mailing list