[PATCH] [Performance Events] Fix typo in tools/perf/evlist.c

From: Soramichi AKIYAMA
Date: Tue Jan 10 2017 - 06:43:44 EST


This patch fixes a typo: s/enable to/unable to/

Signed-off-by: Soramichi Akiyama <akiyama@xxxxxxxxxxxxxx>
---
tools/perf/util/evlist.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c
index d92e020..23e6f33 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;
--
2.1.4