diff options
-rw-r--r-- | hw/loader.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/loader.c b/hw/loader.c index f38b994a51..7aa1a676e6 100644 --- a/hw/loader.c +++ b/hw/loader.c @@ -559,8 +559,7 @@ int rom_add_file(const char *file, rom->name = qemu_strdup(file); rom->path = qemu_find_file(QEMU_FILE_TYPE_BIOS, rom->name); if (rom->path == NULL) { - fprintf(stderr, "Could not find option rom '%s'\n", rom->name); - goto err; + rom->path = strdup(file); } fd = open(rom->path, O_RDONLY | O_BINARY); |