Skip to content

Commit

Permalink
Fix debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
rickgaiser committed Sep 5, 2024
1 parent 08aaae9 commit 379443f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iop/usb/usbmass_bd/src/scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ static int scsi_warmup(struct block_device *bd)
bd->sectorSize = getBI32(&rcd.block_length);
bd->sectorOffset = 0;
bd->sectorCount = getBI32(&rcd.last_lba);
M_PRINTF("%u %u-byte logical blocks: (%uMB / %uMiB)\n", bd->sectorCount, bd->sectorSize, bd->sectorCount / ((1000 * 1000) / bd->sectorSize), bd->sectorCount / ((1024 * 1024) / bd->sectorSize));
M_PRINTF("%u %u-byte logical blocks: (%uMB / %uMiB)\n", (u32)bd->sectorCount, bd->sectorSize, (u32)bd->sectorCount / ((1000 * 1000) / bd->sectorSize), (u32)bd->sectorCount / ((1024 * 1024) / bd->sectorSize));

return 0;
}
Expand Down

0 comments on commit 379443f

Please sign in to comment.