Revision 2292ddae hw/device-hotplug.c

b/hw/device-hotplug.c
33 33
    DriveInfo *dinfo;
34 34
    QemuOpts *opts;
35 35

  
36
    opts = drive_add(NULL, "%s", optstr);
36
    opts = drive_def(optstr);
37 37
    if (!opts)
38 38
        return NULL;
39 39

  

Also available in: Unified diff