From: Keir Fraser Date: Thu, 9 Oct 2008 09:16:49 +0000 (+0100) Subject: xenpm: Fix typo bug. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14091^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6de3c93f7f4970ddc5b5344b0231de0755d7a8f6;p=xen.git xenpm: Fix typo bug. From: Guanqun Lu Signed-off-by: Keir Fraser --- diff --git a/tools/misc/xenpm.c b/tools/misc/xenpm.c index b705f0a6fa..fbe72b247e 100644 --- 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);