]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rbd: Use %zu for uint64_t instead of casting to unsigned long long
authorWido den Hollander <wido@widodh.nl>
Sat, 30 Jan 2016 15:15:34 +0000 (16:15 +0100)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 5 Feb 2016 19:29:24 +0000 (14:29 -0500)
commit2aed051d0dd5dcca0b8d74a544c932dffa66544f
treed16a31bca2fae8e76ad76c8c207260812ddd62ac
parentf4981ebf5dfc35e4a97417878f265206fd043077
rbd: Use %zu for uint64_t instead of casting to unsigned long long

This was only used in debugging messages and not in any real code.

Ceph/RBD uses uint64_t for sizes internally and they can be printed
with %zu without any need for casting.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
src/storage/storage_backend_rbd.c