On 12/4/24 09:33, Richard Henderson wrote:
From: Philippe Mathieu-Daudé <[email protected]>

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.

Reviewed-by: Stefan Berger <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
[rth: Keep the linebreaks every 16 bytes]
Signed-off-by: Richard Henderson <[email protected]>
---
  backends/tpm/tpm_util.c | 24 ++++++++++--------------
  1 file changed, 10 insertions(+), 14 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to