From: BALATON Zoltan Date: Thu, 20 Mar 2025 04:41:31 +0000 (+1000) Subject: ppc/amigaone: Constify default_env X-Git-Tag: v10.0.0-rc1~6^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=667413f5bfe3c1c4f082c9534b84e70c1ef3ff3a;p=thirdparty%2Fqemu.git ppc/amigaone: Constify default_env The variable holding default env is not supposed to be written. Signed-off-by: BALATON Zoltan Reviewed-by: Nicholas Piggin Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20250314200145.08E0F4E6067@zero.eik.bme.hu> Signed-off-by: Nicholas Piggin --- diff --git a/hw/ppc/amigaone.c b/hw/ppc/amigaone.c index 5d787c3059..e9407a51b5 100644 --- a/hw/ppc/amigaone.c +++ b/hw/ppc/amigaone.c @@ -63,7 +63,7 @@ static const char dummy_fw[] = { #define NVRAM_ADDR 0xfd0e0000 #define NVRAM_SIZE (4 * KiB) -static char default_env[] = +static const char default_env[] = "baudrate=115200\0" "stdout=vga\0" "stdin=ps2kbd\0"