tools/helpers: fix snprintf argument in init-dom0less.c
authorLuca Fancellu <luca.fancellu@arm.com>
Tue, 5 Jul 2022 11:11:25 +0000 (13:11 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 5 Jul 2022 11:11:25 +0000 (13:11 +0200)
commit2b1ee386122a6e8bf66f5163cbda51084af6e0f4
tree78c62df39f09811dde0739c8dd5a98537ee27d0b
parent8d410ac2c178e1dd1001cadddbe9ca75a9738c95
tools/helpers: fix snprintf argument in init-dom0less.c

Fix snprintf argument in init-dom0less.c because two instances of
the function are using libxl_dominfo struct members that are uint64_t
types, so change "%lu" to "%"PRIu64 to handle it properly when
building on arm32 and arm64.

Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
tools/helpers/init-dom0less.c