summaryrefslogtreecommitdiff
path: root/common/cmd_ext4.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-10-23 13:49:25 +0000
committerTom Rini <trini@ti.com>2012-10-29 14:21:20 -0700
commitb9dc49412d592a4ce8e5c3a297dc6eb0110646c6 (patch)
tree715cafa3034e255a6b2fed031ccd3a0c8b6829fa /common/cmd_ext4.c
parenta99c040c337753a7141263b36e91209f504191f1 (diff)
downloadu-boot-imx-b9dc49412d592a4ce8e5c3a297dc6eb0110646c6.zip
u-boot-imx-b9dc49412d592a4ce8e5c3a297dc6eb0110646c6.tar.gz
u-boot-imx-b9dc49412d592a4ce8e5c3a297dc6eb0110646c6.tar.bz2
ext4: Fix printf() format string error
Fix the following error in the ext4 command: cmd_ext4.c:110:3: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Werror=format] Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cmd_ext4.c')
-rw-r--r--common/cmd_ext4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_ext4.c b/common/cmd_ext4.c
index 237bc19..e193f29 100644
--- a/common/cmd_ext4.c
+++ b/common/cmd_ext4.c
@@ -101,7 +101,7 @@ int do_ext4_write(cmd_tbl_t *cmdtp, int flag, int argc,
/* mount the filesystem */
if (!ext4fs_mount(info.size)) {
- printf("Bad ext4 partition %s %d:%lu\n", argv[1], dev, part);
+ printf("Bad ext4 partition %s %d:%d\n", argv[1], dev, part);
goto fail;
}