From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sov2b-0007CT-RG for qemu-devel@nongnu.org; Wed, 11 Jul 2012 07:25:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sov2R-0003Na-EY for qemu-devel@nongnu.org; Wed, 11 Jul 2012 07:25:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sov2R-0003ML-70 for qemu-devel@nongnu.org; Wed, 11 Jul 2012 07:24:59 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6BBOv33008673 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 11 Jul 2012 07:24:57 -0400 From: Gerd Hoffmann Date: Wed, 11 Jul 2012 13:24:55 +0200 Message-Id: <1342005895-28021-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH v2] fix info qtree indention List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- hw/qdev-monitor.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/qdev-monitor.c b/hw/qdev-monitor.c index 7915b45..e7d2804 100644 --- a/hw/qdev-monitor.c +++ b/hw/qdev-monitor.c @@ -543,7 +543,7 @@ static void qdev_print(Monitor *mon, DeviceState *dev, int indent) qdev_print_props(mon, dev, DEVICE_CLASS(class)->props, indent); class = object_class_get_parent(class); } while (class != object_class_by_name(TYPE_DEVICE)); - bus_print_dev(dev->parent_bus, mon, dev, indent + 2); + bus_print_dev(dev->parent_bus, mon, dev, indent); QLIST_FOREACH(child, &dev->child_bus, sibling) { qbus_print(mon, child, indent); } -- 1.7.1