diff options
author | Wolfgang Denk <wd@denx.de> | 2009-09-02 10:21:20 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-09-04 22:58:57 +0200 |
commit | 37daa77f3cafb5ec9a974eff3db2af4a0560a9ef (patch) | |
tree | f0583008b3daa909b80852892c65c3038b281ad0 | |
parent | d8bc55a6fb28876abcbf4a3fc3b6c3ce429c1bb3 (diff) | |
download | u-boot-37daa77f3cafb5ec9a974eff3db2af4a0560a9ef.zip u-boot-37daa77f3cafb5ec9a974eff3db2af4a0560a9ef.tar.gz u-boot-37daa77f3cafb5ec9a974eff3db2af4a0560a9ef.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>
-rw-r--r-- | common/cmd_mtdparts.c | 2 |
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); |