Skip to contentSkip to conversation

[6403] Fix warning in ide.c

Qemu-devel Anthony Liguori 1 participant 1 message Jan 22, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 6403

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6403
Author:   aliguori
Date:     2009-01-22 18:39:53 +0000 (Thu, 22 Jan 2009)

Log Message:
-----------
Fix warning in ide.c

The vm state handler needed updating after the recent vm state change notification refactoring.

Modified Paths:
--------------
trunk/hw/ide.c

Modified: trunk/hw/ide.c
===================================================================

hw/ide.c +1 -1
@@ -1152,7 +1152,7 @@
     }
 }
 
-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)