From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sou8R-00029m-Bf for qemu-devel@nongnu.org; Wed, 11 Jul 2012 06:27:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sou8L-00047Z-0B for qemu-devel@nongnu.org; Wed, 11 Jul 2012 06:27:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sou8K-00047A-I4 for qemu-devel@nongnu.org; Wed, 11 Jul 2012 06:27:00 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6BAQxp8018919 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 11 Jul 2012 06:26:59 -0400 From: Gerd Hoffmann Date: Wed, 11 Jul 2012 12:26:57 +0200 Message-Id: <1342002417-19674-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH] 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..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); } } -- 1.7.1