Revision f8d3d128 hw/fdc.c

b/hw/fdc.c
172 172
{
173 173
    int nb_heads, max_track, last_sect, ro;
174 174
    FDriveType drive;
175
    FDriveRate rate;
175 176

  
176 177
    FLOPPY_DPRINTF("revalidate\n");
177 178
    if (drv->bs != NULL && bdrv_is_inserted(drv->bs)) {
178 179
        ro = bdrv_is_read_only(drv->bs);
179 180
        bdrv_get_floppy_geometry_hint(drv->bs, &nb_heads, &max_track,
180
                                      &last_sect, drv->drive, &drive);
181
                                      &last_sect, drv->drive, &drive, &rate);
181 182
        if (nb_heads != 0 && max_track != 0 && last_sect != 0) {
182 183
            FLOPPY_DPRINTF("User defined disk (%d %d %d)",
183 184
                           nb_heads - 1, max_track, last_sect);

Also available in: Unified diff