mirror of
https://github.com/vivier/EMILE.git
synced 2025-02-27 06:29:15 +00:00
get block_size even if we aren't in verbose mode
This commit is contained in:
parent
1ce4925be6
commit
3441475b77
@ -112,9 +112,10 @@ void scanbus(void)
|
|||||||
|
|
||||||
printf("%s:", devices[i]);
|
printf("%s:", devices[i]);
|
||||||
map = emile_map_open(devices[i], O_RDONLY);
|
map = emile_map_open(devices[i], O_RDONLY);
|
||||||
|
|
||||||
|
emile_map_geometry(map, &block_size, &block_count);
|
||||||
if (verbose)
|
if (verbose)
|
||||||
{
|
{
|
||||||
emile_map_geometry(map, &block_size, &block_count);
|
|
||||||
printf(" block size: %d, blocks number: %d (",
|
printf(" block size: %d, blocks number: %d (",
|
||||||
block_size, block_count);
|
block_size, block_count);
|
||||||
print_size(block_count, block_size);
|
print_size(block_count, block_size);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user