Message ID | 1459382102-8798-1-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c index ca54a61..284ebd9 100644 --- a/tools/perf/util/pmu.c +++ b/tools/perf/util/pmu.c @@ -153,7 +153,7 @@ static int perf_pmu__parse_unit(struct perf_pmu_alias *alias, char *dir, char *n if (fd == -1) return -1; - sret = read(fd, alias->unit, UNIT_MAX_LEN); + sret = read(fd, alias->unit, UNIT_MAX_LEN); if (sret < 0) goto error;