diff options
author | 2017-10-13 11:27:35 +0200 | |
---|---|---|
committer | 2017-10-30 12:27:59 +0100 | |
commit | 709a95c3eb21e3b53fa602d75031a89c7118f50b (patch) | |
tree | 5df2a79c7bd9912ef220fab8c8b829fb867ae30b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Btrfs: remove nr_async_submits and async_submit_draining (diff) | |
download | linux-dev-709a95c3eb21e3b53fa602d75031a89c7118f50b.tar.xz linux-dev-709a95c3eb21e3b53fa602d75031a89c7118f50b.zip |
btrfs: tree-checker: use %zu format string for size_t
We now get a harmless compile-time on 32-bit architectures:
fs/btrfs/tree-checker.c: In function 'check_extent_data_item':
fs/btrfs/tree-checker.c:189:70: error: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'unsigned int' [-Werror=format=]
This changes the format string to use %zu instead of %lu for size_t.
Fixes: c1f6520bf360 ("btrfs: tree-checker: Enhance output for check_extent_data_item")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions