summaryrefslogtreecommitdiff
path: root/drivers/block/libata.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/libata.c')
-rw-r--r--drivers/block/libata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/libata.c b/drivers/block/libata.c
index 90e9a43..65b0203 100644
--- a/drivers/block/libata.c
+++ b/drivers/block/libata.c
@@ -107,7 +107,7 @@ void ata_dump_id(u16 *id)
/* Total sectors of device */
n_sectors = ata_id_n_sectors(id);
- printf("Capablity: %d sectors\n\r", n_sectors);
+ printf("Capablity: %lld sectors\n\r", n_sectors);
printf ("id[49]: capabilities = 0x%04x\n"
"id[53]: field valid = 0x%04x\n"