summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2016-12-01 21:14:38 -0500
committerLen Brown <len.brown@intel.com>2016-12-01 21:14:38 -0500
commit5cc6323c797687d7193fef6deec589c23f16289a (patch)
tree5bb1862739d27d16ca60596ea33bd2f7e4982041 /tools
parentd8ebb442264de62d5d0157adb8f0df96e831b3d3 (diff)
downloadlinux-0-day-5cc6323c797687d7193fef6deec589c23f16289a.tar.gz
linux-0-day-5cc6323c797687d7193fef6deec589c23f16289a.tar.xz
tools/power turbostat: line up headers when -M is used
The -M option adds an 18-column item, and the header needs to be wide enough to keep the header aligned with the columns. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/power/x86/turbostat/turbostat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 10ae4ffe137c7..cfdb574ea302f 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -345,7 +345,7 @@ void print_header(void)
if (extra_delta_offset64)
outp += sprintf(outp, "\tCOUNT 0x%03X", extra_delta_offset64);
if (extra_msr_offset32)
- outp += sprintf(outp, "\tMSR 0x%03X", extra_msr_offset32);
+ outp += sprintf(outp, "\t MSR 0x%03X", extra_msr_offset32);
if (extra_msr_offset64)
outp += sprintf(outp, "\tMSR 0x%03X", extra_msr_offset64);