From c1a1df8d838764d8fb68a1ccae482959e1e7d650 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 12 Sep 2010 09:58:49 +0000 Subject: [PATCH] Typo: & used instead of &&. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38609 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tests/system/kernel/file_corruption/fs/BlockAllocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/system/kernel/file_corruption/fs/BlockAllocator.cpp b/src/tests/system/kernel/file_corruption/fs/BlockAllocator.cpp index b04769d58f..4b9ce59640 100644 --- a/src/tests/system/kernel/file_corruption/fs/BlockAllocator.cpp +++ b/src/tests/system/kernel/file_corruption/fs/BlockAllocator.cpp @@ -552,7 +552,7 @@ BlockAllocator::_AllocateInBitmapBlock(uint64 base, uint32 count, // we have. uint32 remaining = count; - while (remaining > 0 & bits < bitsEnd) { + while (remaining > 0 && bits < bitsEnd) { PRINT(" remaining: %" B_PRIu32 ", index: %" B_PRIu32 ".%" B_PRIu32 ", bits: %#" B_PRIx32 "\n", remaining, kBlocksPerBitmapBlock - (bitsEnd - bits), bitOffset, *bits);