hw/dma/pl330: Use qemu_hexdump_line to avoid sprintf
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 12 Apr 2024 07:33:29 +0000 (00:33 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 5 Jun 2024 19:14:20 +0000 (12:14 -0700)
commit7210ddb45fd6ee32140ac9d9731b88c0f61c3f0b
treeabd677ab93ff1264ffe264e368394f0589696253
parent80e945894acf6ca837f03292a22cbf44550d22df
hw/dma/pl330: Use qemu_hexdump_line to avoid sprintf

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>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240412073346.458116-11-richard.henderson@linaro.org>
hw/dma/pl330.c