diff options
author | Richard Braun <rbraun@sceen.net> | 2017-06-15 20:51:24 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-06-15 20:51:24 +0200 |
commit | 1ffad96cc1b8b055c143ec611d010cab94aa4bce (patch) | |
tree | 040fa50c73d2bd627763fbdd13c3c48b1f9124ec /bitmap.c | |
parent | e56f11ff6f261b5351662c673c680c052314624e (diff) |
bitmap: make bitmap_lookup more function-alike
Diffstat (limited to 'bitmap.c')
-rw-r--r-- | bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ bitmap_find_next_bit(const unsigned long *bm, int nr_bits, int bit, end = bm + BITMAP_LONGS(nr_bits); if (bit >= LONG_BIT) { - bitmap_lookup(bm, bit); + bitmap_lookup(&bm, &bit); nr_bits -= ((bm - start) * LONG_BIT); } |