diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-07-12 12:36:34 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-13 14:55:00 (GMT) |
commit | 0a5676befb0c590212a53f7627fa5d0d8a84bf34 (patch) | |
tree | ea6812919abaf744be8c7b5b904dc78244cbaa4d /drivers/mtd | |
parent | 18c8a28aad49803780bd8d52432ded528e37e701 (diff) | |
download | u-boot-0a5676befb0c590212a53f7627fa5d0d8a84bf34.tar.xz |
Fix some more printf() format issues.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/dataflash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/dataflash.c b/drivers/mtd/dataflash.c index a092dc6..0ad48cd 100644 --- a/drivers/mtd/dataflash.c +++ b/drivers/mtd/dataflash.c @@ -173,7 +173,7 @@ void AT91F_DataflashSetEnv (void) if((env & FLAG_SETENV) == FLAG_SETENV) { start = dataflash_info[i].Device.area_list[j].start; - sprintf((char*) s,"%X",start); + sprintf((char*) s,"%lX",start); setenv((char*) area_list[part].label,(char*) s); } part++; |