diff options
author | Andrew Klossner <andrew@cesa.opbu.xerox.com> | 2008-08-21 07:12:26 -0700 |
---|---|---|
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | 2008-09-09 17:02:41 -0500 |
commit | 5251469943895de4bb9a04d5053352cc22acb7d5 (patch) | |
tree | b91675de870141de079e80668bfbf5765c445537 /drivers | |
parent | e0ff3d350d6b7960deb5a881dfc5acf3a63ef676 (diff) | |
download | u-boot-imx-5251469943895de4bb9a04d5053352cc22acb7d5.zip u-boot-imx-5251469943895de4bb9a04d5053352cc22acb7d5.tar.gz u-boot-imx-5251469943895de4bb9a04d5053352cc22acb7d5.tar.bz2 |
Fix printf errors under -DDEBUG
Fix printf format-string/arg mismatches under -DDEBUG.
These warnings occur with DEBUG defined for a platform using
cpu/mpc85xx. Users of other architectures can unearth similar
problems by adding the line "CFLAGS += -DDEBUG=1" in config.mk right
after "CFLAGS += $(call cc-option,-fno-stack-protector)".
Signed-off-by: Andrew Klossner <andrew@cesa.opbu.xerox.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/cfi_flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 03ea2d0..a74321d 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -516,7 +516,7 @@ static int flash_isequal (flash_info_t * info, flash_sect_t sect, retval = (flash_read16(addr) == cword.w); break; case FLASH_CFI_32BIT: - debug ("is= %8.8lx %8.8lx\n", flash_read32(addr), cword.l); + debug ("is= %8.8x %8.8lx\n", flash_read32(addr), cword.l); retval = (flash_read32(addr) == cword.l); break; case FLASH_CFI_64BIT: |