diff mbox

[08/11] fw_cfg: make sure all VMState fields are unique.

Message ID 1300839376-22520-9-git-send-email-aliguori@us.ibm.com
State New
Headers show

Commit Message

Anthony Liguori March 23, 2011, 12:16 a.m. UTC
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
 hw/fw_cfg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/hw/fw_cfg.c b/hw/fw_cfg.c
index 67603a9..fd0c5ce 100644
--- a/hw/fw_cfg.c
+++ b/hw/fw_cfg.c
@@ -194,7 +194,7 @@  static const VMStateInfo vmstate_hack_uint32_as_uint16 = {
 };
 
 #define VMSTATE_UINT16_HACK(_f, _s, _t)                                    \
-    VMSTATE_SINGLE_TEST(_f, _s, _t, 0, vmstate_hack_uint32_as_uint16, uint32_t)
+    VMSTATE_SINGLE_TEST_HACK(_f, _s, _t, 0, vmstate_hack_uint32_as_uint16, uint32_t)
 
 
 static bool is_version_1(void *opaque, int version_id)