diff options
author | BALATON Zoltan <balaton@eik.bme.hu> | 2025-03-20 14:41:31 +1000 |
---|---|---|
committer | Nicholas Piggin <npiggin@gmail.com> | 2025-03-21 13:54:34 +1000 |
commit | 667413f5bfe3c1c4f082c9534b84e70c1ef3ff3a (patch) | |
tree | ab69780be4743e57adcb4aec993d58a95cd86cbc /hw | |
parent | 0cb6498b4ce8d0e800e85a43429919c208537405 (diff) | |
download | qemu-667413f5bfe3c1c4f082c9534b84e70c1ef3ff3a.zip qemu-667413f5bfe3c1c4f082c9534b84e70c1ef3ff3a.tar.gz qemu-667413f5bfe3c1c4f082c9534b84e70c1ef3ff3a.tar.bz2 |
ppc/amigaone: Constify default_env
The variable holding default env is not supposed to be written.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250314200145.08E0F4E6067@zero.eik.bme.hu>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/ppc/amigaone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/amigaone.c b/hw/ppc/amigaone.c index 5d787c3..e9407a5 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" |