1
0
mirror of https://github.com/vivier/EMILE.git synced 2025-04-30 07:37:09 +00:00

print size of device found in block0 using blocksise blocks instead of 512 bytes blocs, correct typo

This commit is contained in:
Laurent Vivier 2006-10-20 07:55:27 +00:00
parent 5bcc5daee6
commit 5fa77b2ff2

@ -108,7 +108,7 @@ void diskinfo(char* device)
{
printf(" block size: %d, blocks number: %d (",
block_size, block_count);
print_size(block_count, 512);
print_size(block_count, block_size);
printf(")\n");
}
else putchar('\n');
@ -146,7 +146,7 @@ void diskinfo(char* device)
printf("SCSI chained");
break;
case kDriverTypeMacATAChained:
printf("ATA chained\n");
printf("ATA chained");
break;
default:
printf("unknown (%04x)\n", type);