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

[Xen-changelog] [xen-unstable] [XENTOP] Fix Field attributes and width.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 8e1ae72e905e0f052de3b61a883a935a08d121fc
# Parent  82f481bda1c7c1c82545fb9d4aa0bab1509ab602
[XENTOP] Fix Field attributes and width.

It miss that set the FIELD attribute and width for VBD
information in xentop.c.

Signed-off-by  Satoshi UCHIDA <s-uchida@xxxxxxxxxxxxx>
---
 tools/xenstat/xentop/xentop.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff -r 82f481bda1c7 -r 8e1ae72e905e tools/xenstat/xentop/xentop.c
--- a/tools/xenstat/xentop/xentop.c     Wed Jul 05 11:21:19 2006 +0100
+++ b/tools/xenstat/xentop/xentop.c     Wed Jul 05 11:24:09 2006 +0100
@@ -156,11 +156,11 @@ field fields[] = {
        { FIELD_NETS,    "NETS",       4, compare_nets,    print_nets    },
        { FIELD_NET_TX,  "NETTX(k)",   8, compare_net_tx,  print_net_tx  },
        { FIELD_NET_RX,  "NETRX(k)",   8, compare_net_rx,  print_net_rx  },
-       { FIELD_NET_RX,  "VBDS",       8, compare_vbds,    print_vbds    },
-       { FIELD_NET_RX,  "VBD_OO",     8, compare_vbd_oo,  print_vbd_oo  },
-       { FIELD_NET_RX,  "VBD_RD",     8, compare_vbd_rd,  print_vbd_rd  },
-       { FIELD_NET_RX,  "VBD_WR",     8, compare_vbd_wr,  print_vbd_wr  },
-               { FIELD_SSID,    "SSID",       4, compare_ssid,    print_ssid   
 }
+       { FIELD_VBDS,    "VBDS",       4, compare_vbds,    print_vbds    },
+       { FIELD_VBD_OO,  "VBD_OO",     8, compare_vbd_oo,  print_vbd_oo  },
+       { FIELD_VBD_RD,  "VBD_RD",     8, compare_vbd_rd,  print_vbd_rd  },
+       { FIELD_VBD_WR,  "VBD_WR",     8, compare_vbd_wr,  print_vbd_wr  },
+       { FIELD_SSID,    "SSID",       4, compare_ssid,    print_ssid    }
 };
 
 const unsigned int NUM_FIELDS = sizeof(fields)/sizeof(field);

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