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-unstable] xentop: Fix display of long domain names.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xentop: Fix display of long domain names.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 22 Sep 2008 11:20:11 -0700
Delivery-date: Mon, 22 Sep 2008 11:20:03 -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 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

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