ia64/xen-unstable

changeset 18599:10dec51bfa81

xenpm: Fix typo bug.

From: Guanqun Lu <guanqun.lu@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Oct 09 10:16:49 2008 +0100 (2008-10-09)
parents d1e57d593614
children b8f329d2c074
files tools/misc/xenpm.c
line diff
     1.1 --- a/tools/misc/xenpm.c	Thu Oct 09 10:15:30 2008 +0100
     1.2 +++ b/tools/misc/xenpm.c	Thu Oct 09 10:16:49 2008 +0100
     1.3 @@ -161,7 +161,7 @@ int main(int argc, char **argv)
     1.4                  break;
     1.5              }
     1.6  
     1.7 -            ret = xc_pm_get_pxstat(xc_fd, 0, pxstat);
     1.8 +            ret = xc_pm_get_pxstat(xc_fd, i, pxstat);
     1.9              if( ret ) {
    1.10                  fprintf(stderr, "failed to get P-states statistics information\n");
    1.11                  free(pxstat->trans_pt);