From: aliguori Date: Thu, 22 Jan 2009 18:39:53 +0000 (+0000) Subject: Fix warning in ide.c X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f18be9010f3bf5ab0c7a24d441b5396640aebf07;p=qemu.git Fix warning in ide.c The vm state handler needed updating after the recent vm state change notification refactoring. Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6403 c046a42c-6fe2-441c-8c8c-71466251a162 --- 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)