aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-22 18:39:53 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-22 18:39:53 +0000
commitf18be9010f3bf5ab0c7a24d441b5396640aebf07 (patch)
tree9b89b522e5f5dd58feb005d423a71da7a7bd06e3
parent9781e0401ad7d2d30e48fd532372d4ef80be58b6 (diff)
Fix warning in ide.c
The vm state handler needed updating after the recent vm state change notification refactoring. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6403 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hw/ide.c2
1 files changed, 1 insertions, 1 deletions
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)