system/qtest: Replace sprintf by qemu_hexdump_line
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 12 Apr 2024 07:33:26 +0000 (00:33 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 5 Jun 2024 19:14:20 +0000 (12:14 -0700)
commit4b69210978bdf92d50b84d8662b3c38c78d79803
tree4374994b4c031d42f5160e342bb49abd067ad5b5
parent3a8ff3667187459427eef5c6b1cdb950c563e094
system/qtest: Replace sprintf by qemu_hexdump_line

sprintf() is deprecated on Darwin since macOS 13.0 / XCode 14.1.
Using qemu_hexdump_line both fixes the deprecation warning and
simplifies the code base.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>`
[rth: Use qemu_hexdump_line]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240412073346.458116-8-richard.henderson@linaro.org>
system/qtest.c