aboutsummaryrefslogtreecommitdiff
path: root/perf
diff options
context:
space:
mode:
Diffstat (limited to 'perf')
-rw-r--r--perf/perf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/perf/perf.cpp b/perf/perf.cpp
index 7cdb2aa..73682aa 100644
--- a/perf/perf.cpp
+++ b/perf/perf.cpp
@@ -108,7 +108,7 @@ void perf_event::create_perf_event(char *eventname, int _cpu)
if (perf_fd < 0) {
reset_display();
- fprintf(stderr, _("PowerTOP " POWERTOP_VERSION " needs the kernel to support the 'perf' subsystem\n"));
+ fprintf(stderr, _("PowerTOP %s needs the kernel to support the 'perf' subsystem\n"), POWERTOP_VERSION);
fprintf(stderr, _("as well as support for trace points in the kernel:\n"));
fprintf(stderr, _("CONFIG_PERF_EVENTS=y\nCONFIG_PERF_COUNTERS=y\nCONFIG_TRACEPOINTS=y\nCONFIG_TRACING=y\n"));
exit(EXIT_FAILURE);