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: bcf3145fbe ("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]>
This commit is contained in:
Soramichi Akiyama 2017-01-10 10:41:00 -03:00 • committed by Arnaldo Carvalho de Melo
commit e978be9ea2

View file

@ -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;