diff options
Diffstat (limited to 'tools/misc/xenpm.c')
-rw-r--r-- | tools/misc/xenpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/misc/xenpm.c b/tools/misc/xenpm.c index 679b1f39d3..46ccb34974 100644 --- a/tools/misc/xenpm.c +++ b/tools/misc/xenpm.c @@ -858,7 +858,7 @@ void cpu_topology_func(int argc, char *argv[]) info.max_cpu_index = MAX_NR_CPU-1; printf("CPU\tcore\tsocket\tnode\n"); - for ( i = 0; i < info.max_cpu_index; i++ ) + for ( i = 0; i <= info.max_cpu_index; i++ ) { if ( cpu_to_core[i] == INVALID_TOPOLOGY_ID ) continue; |