diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-04-12 00:33:30 -0700 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-02-16 14:25:07 +0100 |
commit | 1e0d4eb4ee7c909323bffc39bc348eb3174b426b (patch) | |
tree | 645355e963ed94f6c9de4c2e252886c4a8dbc616 /qemu-keymap.c | |
parent | 495de0fd82d8bb2d7035f82d9869cfeb48de2f9e (diff) | |
download | qemu-1e0d4eb4ee7c909323bffc39bc348eb3174b426b.zip qemu-1e0d4eb4ee7c909323bffc39bc348eb3174b426b.tar.gz qemu-1e0d4eb4ee7c909323bffc39bc348eb3174b426b.tar.bz2 |
backends/tpm: 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>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
[rth: Keep the linebreaks every 16 bytes]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240412073346.458116-12-richard.henderson@linaro.org>
[PMD: Rebased]
Diffstat (limited to 'qemu-keymap.c')
0 files changed, 0 insertions, 0 deletions