]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/riscv/virt: Replace sprintf by g_strdup_printf
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 11 Apr 2024 10:33:31 +0000 (12:33 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 25 Apr 2024 10:48:12 +0000 (12:48 +0200)
commitb8ff846ec88513112008bff3a4001c839fd50f03
treef92ec97f4f0f6a6dd2d0df3dd314ff65a6197dfe
parentca4af17c5e4a55b73850163dfc64a7d3c69378be
hw/riscv/virt: Replace sprintf by g_strdup_printf

sprintf() is deprecated on Darwin since macOS 13.0 / XCode 14.1.
Use g_strdup_printf instead.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[rth: Use g_strdup_printf]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240412073346.458116-26-richard.henderson@linaro.org>
hw/riscv/virt.c