Fixed printf warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5240 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2fbd706501
commit
64df0549bf
@ -203,7 +203,7 @@ Volume::_Init(int device, off_t offset, off_t length, int blockSize)
|
|||||||
uint32 block = blockSize & (uint32(1) << i);
|
uint32 block = blockSize & (uint32(1) << i);
|
||||||
if (block) {
|
if (block) {
|
||||||
if (++bitCount > 1) {
|
if (++bitCount > 1) {
|
||||||
PRINT(("Block size must be a power of two! (blockSize = %ld)\n", blockSize));
|
PRINT(("Block size must be a power of two! (blockSize = %d)\n", blockSize));
|
||||||
RETURN(B_BAD_VALUE);
|
RETURN(B_BAD_VALUE);
|
||||||
} else {
|
} else {
|
||||||
fBlockShift = i;
|
fBlockShift = i;
|
||||||
|
Loading…
Reference in New Issue
Block a user