Patchwork fix info qtree indention

login
register
mail settings
Submitter Gerd Hoffmann
Date July 11, 2012, 10:26 a.m.
Message ID <1342002417-19674-1-git-send-email-kraxel@redhat.com>
Download mbox | patch
Permalink /patch/170419/
State New
Headers show

Comments

Gerd Hoffmann - July 11, 2012, 10:26 a.m.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 hw/qdev-monitor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/qdev-monitor.c b/hw/qdev-monitor.c
index 7915b45..2053c4a 100644
--- a/hw/qdev-monitor.c
+++ b/hw/qdev-monitor.c
@@ -545,7 +545,7 @@  static void qdev_print(Monitor *mon, DeviceState *dev, int indent)
     } while (class != object_class_by_name(TYPE_DEVICE));
     bus_print_dev(dev->parent_bus, mon, dev, indent + 2);
     QLIST_FOREACH(child, &dev->child_bus, sibling) {
-        qbus_print(mon, child, indent);
+        qbus_print(mon, child, indent + 2);
     }
 }