projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec4b58
)
xenpm: Fix typo bug.
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 9 Oct 2008 09:16:49 +0000
(10:16 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 9 Oct 2008 09:16:49 +0000
(10:16 +0100)
From: Guanqun Lu <guanqun.lu@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/misc/xenpm.c
patch
|
blob
|
history
diff --git
a/tools/misc/xenpm.c
b/tools/misc/xenpm.c
index b705f0a6faed17f46c954633839e96710530823f..fbe72b247e118e81596a4000456892974422e21b 100644
(file)
--- a/
tools/misc/xenpm.c
+++ b/
tools/misc/xenpm.c
@@
-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);