diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-07-12 14:36:34 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-13 16:55:00 +0200 |
commit | 0a5676befb0c590212a53f7627fa5d0d8a84bf34 (patch) | |
tree | ea6812919abaf744be8c7b5b904dc78244cbaa4d /common/cmd_flash.c | |
parent | 18c8a28aad49803780bd8d52432ded528e37e701 (diff) | |
download | u-boot-imx-0a5676befb0c590212a53f7627fa5d0d8a84bf34.zip u-boot-imx-0a5676befb0c590212a53f7627fa5d0d8a84bf34.tar.gz u-boot-imx-0a5676befb0c590212a53f7627fa5d0d8a84bf34.tar.bz2 |
Fix some more printf() format issues.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common/cmd_flash.c')
-rw-r--r-- | common/cmd_flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_flash.c b/common/cmd_flash.c index 9bd8074..1dd0c99 100644 --- a/common/cmd_flash.c +++ b/common/cmd_flash.c @@ -342,7 +342,7 @@ int do_flerase (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) puts ("Bad sector specification\n"); return 1; } - printf ("Erase Flash Sectors %d-%d in Bank # %d ", + printf ("Erase Flash Sectors %d-%d in Bank # %ld ", sect_first, sect_last, (info-flash_info)+1); rcode = flash_erase(info, sect_first, sect_last); return rcode; @@ -534,7 +534,7 @@ int do_protect (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) puts ("Bad sector specification\n"); return 1; } - printf("%sProtect Flash Sectors %d-%d in Bank # %d\n", + printf("%sProtect Flash Sectors %d-%d in Bank # %ld\n", p ? "" : "Un-", sect_first, sect_last, (info-flash_info)+1); for (i = sect_first; i <= sect_last; i++) { |