diff --git a/hw/ide.c b/hw/ide.c index 49c785d6e1..cfdee6cddd 100644 --- a/hw/ide.c +++ b/hw/ide.c @@ -1152,7 +1152,7 @@ static void ide_sector_write(IDEState *s) } } -static void ide_dma_restart_cb(void *opaque, int running) +static void ide_dma_restart_cb(void *opaque, int running, int reason) { BMDMAState *bm = opaque; if (!running)