mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
block_size is used in drivers section (block0) otherwise use 512-byte block
This commit is contained in:
parent
afab5c5f43
commit
efcd323152
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user