aboutsummaryrefslogtreecommitdiff
path: root/lib/libnv
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2014-04-01 21:30:54 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2014-04-01 21:30:54 +0000
commit1c6e90b0f8dacb8fd9e62245dd1504c8cc12234a (patch)
treef5df74ed5696a9162c3b742de24a792b2e5bc862 /lib/libnv
parenta0e36aee93f9b38f915041da90f30361821775f8 (diff)
Notes
Diffstat (limited to 'lib/libnv')
-rw-r--r--lib/libnv/nvlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libnv/nvlist.c b/lib/libnv/nvlist.c
index ba809f53a1c25..929ba48945966 100644
--- a/lib/libnv/nvlist.c
+++ b/lib/libnv/nvlist.c
@@ -582,7 +582,7 @@ nvlist_check_header(struct nvlist_header *nvlhdrp)
errno = EINVAL;
return (false);
}
- if ((nvlhdrp->nvlh_flags &= ~NV_FLAG_ALL_MASK) != 0) {
+ if ((nvlhdrp->nvlh_flags & ~NV_FLAG_ALL_MASK) != 0) {
errno = EINVAL;
return (false);
}