block_size is used in drivers section (block0) otherwise use 512-byte block

This commit is contained in:
Laurent Vivier 2005-02-01 23:21:06 +00:00
parent afab5c5f43
commit efcd323152

View File

@ -118,7 +118,7 @@ void scanbus(void)
{
printf(" block size: %d, blocks number: %d (",
block_size, block_count);
print_size(block_count, block_size);
print_size(block_count, 512);
printf(")\n");
}
else putchar('\n');
@ -196,7 +196,7 @@ void scanbus(void)
&start, &count);
printf(" base: %d, count: %d (",
start, count);
print_size(count, block_size);
print_size(count, 512);
printf(")\n");
printf(" flags: 0x%08x\n",
emile_map_partition_get_flags(map));