diff options
Diffstat (limited to 'hw/device-hotplug.c')
-rw-r--r-- | hw/device-hotplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/device-hotplug.c b/hw/device-hotplug.c index 9704e2feb2..95a63726f3 100644 --- a/hw/device-hotplug.c +++ b/hw/device-hotplug.c @@ -33,7 +33,7 @@ DriveInfo *add_init_drive(const char *optstr) DriveInfo *dinfo; QemuOpts *opts; - opts = drive_add(NULL, "%s", optstr); + opts = drive_def(optstr); if (!opts) return NULL; |