aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoramichi Akiyama <[email protected]>2017-01-10 10:41:00 -0300
committerArnaldo Carvalho de Melo <[email protected]>2017-01-11 16:48:01 -0300
commite978be9ea2990f1af60fe10eadd2312a6250e0b8 (patch)
treec67c484a58d4dfd4363b646e884f7632caab9f32
parent017037ff3d0b11842012878a546fe2df47822259 (diff)
perf evlist: Fix typo in perf_evlist__start_workload()
This patch fixes a typo: s/enable to/unable to/ Signed-off-by: Soramichi AKIYAMA <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Fixes: bcf3145fbeb1 ("perf evlist: Enhance perf_evlist__start_workload()") Link: http://lkml.kernel.org/r/[email protected] [ Wasn't applying, fixed it up by hand, added Fixes: tag ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r--tools/perf/util/evlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c
index d92e02006fb8..23e6f33edcf2 100644
--- a/tools/perf/util/evlist.c
+++ b/tools/perf/util/evlist.c
@@ -1797,7 +1797,7 @@ int perf_evlist__start_workload(struct perf_evlist *evlist)
*/
ret = write(evlist->workload.cork_fd, &bf, 1);
if (ret < 0)
- perror("enable to write to pipe");
+ perror("unable to write to pipe");
close(evlist->workload.cork_fd);
return ret;