WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.2-testing] xentop: Fix display of long domain nam

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.2-testing] xentop: Fix display of long domain names.
From: "Xen patchbot-3.2-testing" <patchbot-3.2-testing@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 17 Oct 2008 00:20:26 -0700
Delivery-date: Fri, 17 Oct 2008 00:20:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1224177300 -3600
# Node ID 25004bebfcd52ed11f0f22c390722826ff80d6df
# Parent  88fee130562746836819cf4e6088e5f4ba8b0c31
xentop: Fix display of long domain names.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   18522:ae24b533dc9d
xen-unstable date:        Mon Sep 22 14:04:27 2008 +0100
---
 tools/xenstat/xentop/xentop.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 88fee1305627 -r 25004bebfcd5 tools/xenstat/xentop/xentop.c
--- a/tools/xenstat/xentop/xentop.c     Thu Oct 16 18:14:23 2008 +0100
+++ b/tools/xenstat/xentop/xentop.c     Thu Oct 16 18:15:00 2008 +0100
@@ -419,7 +419,7 @@ int compare_name(xenstat_domain *domain1
 /* Prints domain name */
 void print_name(xenstat_domain *domain)
 {
-       print("%10s", xenstat_domain_name(domain));
+       print("%10.10s", xenstat_domain_name(domain));
 }
 
 struct {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.2-testing] xentop: Fix display of long domain names., Xen patchbot-3.2-testing <=