debug: Correct formatting when displaying drive size.

Change-Id: I95e9a257dcad548ec4378d01c0f9b4370ebf5318
This commit is contained in:
Solomon Peachy 2024-10-15 18:22:54 -04:00
parent 8daf1f1bfe
commit d3b7eba405
2 changed files with 4 additions and 4 deletions

View file

@ -1359,7 +1359,7 @@ void ata_get_info(IF_MD(int drive,)struct storage_info *info)
#endif
int i;
/* Logical sector size */
/* Logical sector size > 512B ? */
if ((identify_info[106] & 0xd000) == 0x5000)
info->sector_size = identify_info[117] | (identify_info[118] << 16);
else