projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba253d4
)
btrfs-progs: fix printf format of sizeof on 32bit build
author
David Sterba
<dsterba@suse.com>
Thu, 6 Oct 2016 16:04:51 +0000
(18:04 +0200)
committer
David Sterba
<dsterba@suse.com>
Mon, 10 Oct 2016 07:46:54 +0000
(09:46 +0200)
Signed-off-by: David Sterba <dsterba@suse.com>
disk-io.c
patch
|
blob
|
history
diff --git
a/disk-io.c
b/disk-io.c
index
f989c29
..
f24567b
100644
(file)
--- a/
disk-io.c
+++ b/
disk-io.c
@@
-1561,7
+1561,7
@@
static int check_super(struct btrfs_super_block *sb, unsigned sbflags)
}
if (btrfs_super_sys_array_size(sb) < sizeof(struct btrfs_disk_key)
+ sizeof(struct btrfs_chunk)) {
- error("system chunk array too small %u < %
l
u",
+ error("system chunk array too small %u < %
z
u",
btrfs_super_sys_array_size(sb),
sizeof(struct btrfs_disk_key) +
sizeof(struct btrfs_chunk));