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

[Xen-changelog] [xen-unstable] xenpm: Fix typo bug.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1223543809 -3600
# Node ID 10dec51bfa817f4f5c54f2bd9c1f94cffe748361
# Parent  d1e57d593614398ee10dde1cc6a2db7ccdb07155
xenpm: Fix typo bug.

From: Guanqun Lu <guanqun.lu@xxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/misc/xenpm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r d1e57d593614 -r 10dec51bfa81 tools/misc/xenpm.c
--- a/tools/misc/xenpm.c        Thu Oct 09 10:15:30 2008 +0100
+++ b/tools/misc/xenpm.c        Thu Oct 09 10:16:49 2008 +0100
@@ -161,7 +161,7 @@ int main(int argc, char **argv)
                 break;
             }
 
-            ret = xc_pm_get_pxstat(xc_fd, 0, pxstat);
+            ret = xc_pm_get_pxstat(xc_fd, i, pxstat);
             if( ret ) {
                 fprintf(stderr, "failed to get P-states statistics 
information\n");
                 free(pxstat->trans_pt);

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