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

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



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.