Revision ce802585

b/hw/sun4m.c
1589 1589

  
1590 1590
    if (hwdef->fd_base != (target_phys_addr_t)-1) {
1591 1591
        /* there is zero or one floppy drive */
1592
        fd[1] = fd[0] = NULL;
1592
        memset(fd, 0, sizeof(fd));
1593 1593
        drive_index = drive_get_index(IF_FLOPPY, 0, 0);
1594 1594
        if (drive_index != -1)
1595 1595
            fd[0] = drives_table[drive_index].bdrv;

Also available in: Unified diff