diff options
Diffstat (limited to 'kern/bitmap.c')
-rw-r--r-- | kern/bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/bitmap.c b/kern/bitmap.c index 0e13ef55..97e497d6 100644 --- a/kern/bitmap.c +++ b/kern/bitmap.c @@ -78,7 +78,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); } |