]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: tests: print all values as decimal in messages for extent map tests
authorFilipe Manana <fdmanana@suse.com>
Mon, 4 Dec 2023 16:20:26 +0000 (16:20 +0000)
committerDavid Sterba <dsterba@suse.com>
Fri, 15 Dec 2023 21:59:01 +0000 (22:59 +0100)
commitc9201b4fec0d8ebac1399825353c7a266665cccd
treed15e07f4e4b933bc14fb8f2804bf7f5733382f1c
parenteca3aaec0de1e7059340f906a0741a68c1cf9e2b
btrfs: tests: print all values as decimal in messages for extent map tests

Some error messages of the extent map tests print decimal values of start
offsets and lengths, while other are oddly printing in hexadecimal, which
is far less human friendly, specially taking into consideration that all
the values are small and multiples of 4K, so it's a lot easier to read
them as decimal values. Change the format specifiers to print as decimal
instead.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tests/extent-map-tests.c