Skip to content

Commit 667413f

Browse files
zbalatonnpiggin
authored andcommitted
ppc/amigaone: Constify default_env
The variable holding default env is not supposed to be written. Signed-off-by: BALATON Zoltan <[email protected]> Reviewed-by: Nicholas Piggin <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Message-ID: <[email protected]> Signed-off-by: Nicholas Piggin <[email protected]>
1 parent 0cb6498 commit 667413f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hw/ppc/amigaone.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ static const char dummy_fw[] = {
6363
#define NVRAM_ADDR 0xfd0e0000
6464
#define NVRAM_SIZE (4 * KiB)
6565

66-
static char default_env[] =
66+
static const char default_env[] =
6767
"baudrate=115200\0"
6868
"stdout=vga\0"
6969
"stdin=ps2kbd\0"

0 commit comments

Comments
 (0)