projects
/
profile
/
common
/
platform
/
kernel
/
u-boot-artik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41cd172
)
ext4: Fix printf() format string error
author
Simon Glass
<sjg@chromium.org>
Tue, 23 Oct 2012 13:49:25 +0000
(13:49 +0000)
committer
Chanho Park
<chanho61.park@samsung.com>
Wed, 22 Jul 2015 11:16:51 +0000
(20:16 +0900)
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>
common/cmd_ext4.c
patch
|
blob
|
history
diff --git
a/common/cmd_ext4.c
b/common/cmd_ext4.c
index 237bc198ae382f4e3ef48e864a560daed1aa4c7d..e193f29c4726c992f59efdd08a190146464e50bc 100644
(file)
--- 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;
}