diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2016-06-11 18:11:10 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-06-17 18:32:40 +0200 |
commit | 16ff4b454f1b56e8d89a9075feed0dd6ac510c3d (patch) | |
tree | b2f4984c67e4327b06e0d5373c468a12063338ee /fs/btrfs/check-integrity.c | |
parent | 719da39a61173c849f70656ed1a302e4b6deaa5b (diff) | |
download | op-kernel-dev-16ff4b454f1b56e8d89a9075feed0dd6ac510c3d.zip op-kernel-dev-16ff4b454f1b56e8d89a9075feed0dd6ac510c3d.tar.gz |
btrfs: Use correct format specifier
Component mirror_num of struct btrfsic_block is defined
as unsigned int. Use %u as format specifier.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/check-integrity.c')
-rw-r--r-- | fs/btrfs/check-integrity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/check-integrity.c b/fs/btrfs/check-integrity.c index b677a6e..7706c8d 100644 --- a/fs/btrfs/check-integrity.c +++ b/fs/btrfs/check-integrity.c @@ -2645,7 +2645,7 @@ static void btrfsic_dump_tree_sub(const struct btrfsic_state *state, * This algorithm is recursive because the amount of used stack space * is very small and the max recursion depth is limited. */ - indent_add = sprintf(buf, "%c-%llu(%s/%llu/%d)", + indent_add = sprintf(buf, "%c-%llu(%s/%llu/%u)", btrfsic_get_block_type(state, block), block->logical_bytenr, block->dev_state->name, block->dev_bytenr, block->mirror_num); |