hw/misc/imx: Replace sprintf() by snprintf()
commitca4af17c5e4a55b73850163dfc64a7d3c69378be
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 11 Apr 2024 10:31:14 +0000 (11 12:31 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 25 Apr 2024 10:48:12 +0000 (25 12:48 +0200)
tree995a5a65ccdd9efdc03040ed18541091d839c540
parenta6ab7a98c9a8106cb8ef86cbc88a27fe69963423
hw/misc/imx: Replace sprintf() by snprintf()

sprintf() is deprecated on Darwin since macOS 13.0 / XCode 14.1,
resulting in painful developer experience. Use snprintf() instead.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20240411104340.6617-6-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
hw/misc/imx25_ccm.c
hw/misc/imx31_ccm.c
hw/misc/imx6_ccm.c
hw/misc/imx6_src.c
hw/misc/imx6ul_ccm.c
hw/misc/imx7_src.c
hw/net/imx_fec.c
hw/ssi/imx_spi.c