diff options
author | dim <dim@FreeBSD.org> | 2017-01-11 21:01:49 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2017-01-11 21:01:49 +0000 |
commit | 923afc7014dd8b9f919c86304eba24155868f93d (patch) | |
tree | 60d1ee69a6185987598adebeadae576f7318d51f /share/misc | |
parent | f91ff953ed87a3c6ad83c744db610b8dde2d8dc1 (diff) | |
download | FreeBSD-src-923afc7014dd8b9f919c86304eba24155868f93d.zip FreeBSD-src-923afc7014dd8b9f919c86304eba24155868f93d.tar.gz |
MFC r311688:
Fix logic error in gvinum's gv_set_sd_state()
With clang 4.0.0, I'm getting the following warnings:
sys/geom/vinum/geom_vinum_state.c:186:7: error: logical not is only
applied to the left hand side of this bitwise operator
[-Werror,-Wlogical-not-parentheses]
if (!flags & GV_SETSTATE_FORCE)
^ ~
The logical not operator should obiously be called after masking.
Reviewed by: mav, pfg
Differential Revision: https://reviews.freebsd.org/D9093
Diffstat (limited to 'share/misc')
0 files changed, 0 insertions, 0 deletions