Commit e978be9e authored by Soramichi Akiyama's avatar Soramichi Akiyama Committed by Arnaldo Carvalho de Melo

perf evlist: Fix typo in perf_evlist__start_workload()

This patch fixes a typo: s/enable to/unable to/
Signed-off-by: default avatarSoramichi AKIYAMA <akiyama@m.soramichi.jp>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Fixes: bcf3145f ("perf evlist: Enhance perf_evlist__start_workload()")
Link: http://lkml.kernel.org/r/20170110200006.e1f7a766b4faf1f107ae2e1b@m.soramichi.jp
[ Wasn't applying, fixed it up by hand, added Fixes: tag ]
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 017037ff
...@@ -1797,7 +1797,7 @@ int perf_evlist__start_workload(struct perf_evlist *evlist) ...@@ -1797,7 +1797,7 @@ int perf_evlist__start_workload(struct perf_evlist *evlist)
*/ */
ret = write(evlist->workload.cork_fd, &bf, 1); ret = write(evlist->workload.cork_fd, &bf, 1);
if (ret < 0) if (ret < 0)
perror("enable to write to pipe"); perror("unable to write to pipe");
close(evlist->workload.cork_fd); close(evlist->workload.cork_fd);
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment