summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-09-02 10:21:20 +0200
committerTom Rix <Tom.Rix@windriver.com>2009-10-03 09:04:13 -0500
commit71b24e56121655f797e57fd265d2241654b3335d (patch)
tree7dc31b5f98203d3f71e857a02b0dad40673642a5 /common
parent88f9d60b62829ea2a948b9c20fc8a3df94b512bd (diff)
downloadu-boot-imx-71b24e56121655f797e57fd265d2241654b3335d.zip
u-boot-imx-71b24e56121655f797e57fd265d2241654b3335d.tar.gz
u-boot-imx-71b24e56121655f797e57fd265d2241654b3335d.tar.bz2
cmd_mtdparts.c: fix compiler warning in debug code
Fix warning messages: cmd_mtdparts.c:1429: warning: format '%08lx' expects type 'long unsigned int', but argument 6 has type 'u32' cmd_mtdparts.c:1429: warning: format '%08lx' expects type 'long unsigned int', but argument 7 has type 'u32' Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_mtdparts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_mtdparts.c b/common/cmd_mtdparts.c
index 665995d..b375fea 100644
--- a/common/cmd_mtdparts.c
+++ b/common/cmd_mtdparts.c
@@ -1336,7 +1336,7 @@ static int delete_partition(const char *id)
if (find_dev_and_part(id, &dev, &pnum, &part) == 0) {
- DEBUGF("delete_partition: device = %s%d, partition %d = (%s) 0x%08lx@0x%08lx\n",
+ DEBUGF("delete_partition: device = %s%d, partition %d = (%s) 0x%08x@0x%08x\n",
MTD_DEV_TYPE(dev->id->type), dev->id->num, pnum,
part->name, part->size, part->offset);