Revision 7bd427d8 usb-linux.c

b/usb-linux.c
1535 1535
    }
1536 1536

  
1537 1537
    if (!usb_auto_timer) {
1538
        usb_auto_timer = qemu_new_timer(rt_clock, usb_host_auto_check, NULL);
1538
        usb_auto_timer = qemu_new_timer_ms(rt_clock, usb_host_auto_check, NULL);
1539 1539
        if (!usb_auto_timer) {
1540 1540
            return;
1541 1541
        }
1542 1542
    }
1543
    qemu_mod_timer(usb_auto_timer, qemu_get_clock(rt_clock) + 2000);
1543
    qemu_mod_timer(usb_auto_timer, qemu_get_clock_ms(rt_clock) + 2000);
1544 1544
}
1545 1545

  
1546 1546
/*

Also available in: Unified diff