mirror of https://github.com/xemu-project/xemu.git
xbox.c: Fix null string warning
This commit is contained in:
parent
38f294c58a
commit
3afd8456d5
hw/xbox
|
@ -98,7 +98,7 @@ static void xbox_flash_init(MachineState *ms, MemoryRegion *rom_memory)
|
|||
}
|
||||
|
||||
if (failed_to_load_bios) {
|
||||
fprintf(stderr, "Failed to load BIOS '%s'\n", filename);
|
||||
fprintf(stderr, "Failed to load BIOS '%s'\n", filename ? filename : "(null)");
|
||||
memset(bios_data, 0xff, bios_size);
|
||||
}
|
||||
if (filename != NULL) {
|
||||
|
|
Loading…
Reference in New Issue