diff options
Diffstat (limited to 'sys/gnu')
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_bitops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_bitops.h b/sys/gnu/fs/ext2fs/ext2_bitops.h index 47d76cf..0ee54a1 100644 --- a/sys/gnu/fs/ext2fs/ext2_bitops.h +++ b/sys/gnu/fs/ext2fs/ext2_bitops.h @@ -88,7 +88,7 @@ find_next_zero_bit(void *data, size_t sz, size_t ofs) p++; ofs = (ofs + 31U) & ~31U; } - while(*p == ~0U && ofs < sz) { + while(ofs < sz && *p == ~0U) { p++; ofs += 32; } |