Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91b2af0
)
lib/ext2fs: fix a printf format specifier in file_test()
author
Eric Biggers
<ebiggers@google.com>
Sat, 21 Jan 2023 20:32:10 +0000
(12:32 -0800)
committer
Theodore Ts'o
<tytso@mit.edu>
Fri, 27 Jan 2023 17:38:31 +0000
(12:38 -0500)
size_t should be matched by %zu, not %lu. This fixes a -Wformat warning
when building for 32-bit x86.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/inline_data.c
patch
|
blob
|
history
diff --git
a/lib/ext2fs/inline_data.c
b/lib/ext2fs/inline_data.c
index
b62fb67
..
bd52e37
100644
(file)
--- a/
lib/ext2fs/inline_data.c
+++ b/
lib/ext2fs/inline_data.c
@@
-653,7
+653,7
@@
static errcode_t file_test(ext2_filsys fs)
if (size != BUFF_SIZE) {
fprintf(stderr,
- "tst_inline_data: size %
l
u != buflen %u\n",
+ "tst_inline_data: size %
z
u != buflen %u\n",
size, BUFF_SIZE);
retval = 1;
goto err;