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

[Xen-changelog] [xen-3.1-testing] xenstat: Remove the "vbd-%d-%d is a VBD." debugging statement.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1178542370 -3600
# Node ID ebe1460ff6ce7b49f07695becc936d460cebe879
# Parent  e370c94bd6fd0816fec9d654fecde28d8c618168
xenstat: Remove the "vbd-%d-%d is a VBD." debugging statement.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/xenstat/libxenstat/src/xenstat_linux.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff -r e370c94bd6fd -r ebe1460ff6ce 
tools/xenstat/libxenstat/src/xenstat_linux.c
--- a/tools/xenstat/libxenstat/src/xenstat_linux.c      Sat May 05 13:48:05 
2007 +0100
+++ b/tools/xenstat/libxenstat/src/xenstat_linux.c      Mon May 07 13:52:50 
2007 +0100
@@ -206,10 +206,8 @@ int xenstat_collect_vbds(xenstat_node * 
 
 
                ret = sscanf(dp->d_name, "vbd-%u-%u", &domid, &vbd.dev);
-               if (ret != 2) {
-                       continue;
-               }
-               printf("%s is VBD.\n",dp->d_name);
+               if (ret != 2)
+                       continue;
 
                domain = xenstat_node_domain(node, domid);
                if (domain == NULL) {

_______________________________________________
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®.