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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1222088667 -3600
# Node ID ae24b533dc9d0d5ce05b34a1ef72917589b4e63d
# Parent  6d3b932cbecac19bf71d7be51e4f4489089ed753
xentop: Fix display of long domain names.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/xenstat/xentop/xentop.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 6d3b932cbeca -r ae24b533dc9d tools/xenstat/xentop/xentop.c
--- a/tools/xenstat/xentop/xentop.c     Mon Sep 22 14:00:24 2008 +0100
+++ b/tools/xenstat/xentop/xentop.c     Mon Sep 22 14:04:27 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®.