qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 14/32] qdev/prop: convert qdev.c to helper macros.


From: Gerd Hoffmann
Subject: [Qemu-devel] [PATCH 14/32] qdev/prop: convert qdev.c to helper macros.
Date: Mon, 3 Aug 2009 17:35:30 +0200

Signed-off-by: Gerd Hoffmann <address@hidden>
---
 hw/qdev.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/qdev.c b/hw/qdev.c
index 9488dba..3de3bc9 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -543,8 +543,8 @@ static void qdev_print_props(Monitor *mon, DeviceState 
*dev, Property *props,
     if (!props)
         return;
     while (props->name) {
-        if (props->info->print) {
-            props->info->print(dev, props, buf, sizeof(buf));
+        if (props->xinfo->print) {
+            props->xinfo->print(dev, props, buf, sizeof(buf));
             qdev_printf("%s-prop: %s = %s\n", prefix, props->name, buf);
         }
         props++;
-- 
1.6.2.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]