[cache_dump] fix how needs_check flag is checked

This commit is contained in:
Joe Thornber 2021-03-03 09:47:42 +00:00
parent eb3d181f95
commit 3cf0dba469

View File

@ -98,7 +98,7 @@ fn unpack(data: &[u8]) -> IResult<&[u8], Superblock> {
i,
Superblock {
flags: SuperblockFlags {
needs_check: (flags | 0x1) != 0,
needs_check: (flags & 0x1) != 0,
},
block,
version,