Revision c52acf60 hw/fdc.c

b/hw/fdc.c
159 159
        drv->sect = sect;
160 160
    }
161 161

  
162
    if (drv->bs == NULL || !bdrv_is_inserted(drv->bs)) {
163
        ret = 2;
164
    }
165

  
162 166
    return ret;
163 167
}
164 168

  

Also available in: Unified diff