summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libpthread/t_detach.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2017-01-11 20:45:27 +0000
committerdim <dim@FreeBSD.org>2017-01-11 20:45:27 +0000
commitb06b76ff3d8ea68e684fa793432c73906b2cac5f (patch)
tree2b3d02ea7394e6e191891b4f2bac7e375ed15394 /contrib/netbsd-tests/lib/libpthread/t_detach.c
parent2287bfac9e12da921cae33d7d71b0149d66ed987 (diff)
downloadFreeBSD-src-b06b76ff3d8ea68e684fa793432c73906b2cac5f.zip
FreeBSD-src-b06b76ff3d8ea68e684fa793432c73906b2cac5f.tar.gz
MFC r311649:
Fix the following clang 4.0.0 warning in ngatm's snmp_atm.c: contrib/ngatm/snmp_atm/snmp_atm.c:173:6: error: logical not is only applied to the left hand side of this bitwise operator [-Werror,-Wlogical-not-parentheses] if (!ifmr.ifm_status & IFM_AVALID) { ^ ~ Obviously, the masking needs to be done before the logical not operation. Add parentheses to make it so.
Diffstat (limited to 'contrib/netbsd-tests/lib/libpthread/t_detach.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud