summaryrefslogtreecommitdiff
path: root/drivers/block/libata.c
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2008-07-10 14:00:15 -0500
committerWolfgang Denk <wd@denx.de>2008-07-10 22:12:09 +0200
commit4109df6f75fc00ab7da56d286ba50149a0d16a69 (patch)
treef2f2bca858b24e5278a12044b8a7cc37131df8ef /drivers/block/libata.c
parent4b13860e746b65e796213f2c97de8a80db8b68be (diff)
downloadu-boot-imx-4109df6f75fc00ab7da56d286ba50149a0d16a69.zip
u-boot-imx-4109df6f75fc00ab7da56d286ba50149a0d16a69.tar.gz
u-boot-imx-4109df6f75fc00ab7da56d286ba50149a0d16a69.tar.bz2
silence misc printf formatting compiler warnings
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
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"