aboutsummaryrefslogtreecommitdiff
path: root/hw/pc_sysfw.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pc_sysfw.c')
-rw-r--r--hw/pc_sysfw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pc_sysfw.c b/hw/pc_sysfw.c
index 40bced2322..d7ea3a5595 100644
--- a/hw/pc_sysfw.c
+++ b/hw/pc_sysfw.c
@@ -98,7 +98,7 @@ static void pc_fw_add_pflash_drv(void)
return;
}
- if (!drive_init(opts, machine->use_scsi)) {
+ if (!drive_init(opts, machine->block_default_type)) {
qemu_opts_del(opts);
}
}