diff options
Diffstat (limited to 'tools/perf/util/header.c')
-rw-r--r-- | tools/perf/util/header.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index ebed4f44ed36..ca0d657eefad 100644 --- a/tools/perf/util/header.c +++ b/tools/perf/util/header.c | |||
@@ -359,7 +359,7 @@ static void perf_header__adds_read(struct perf_header *self, int fd) | |||
359 | 359 | ||
360 | buildid_sec = &feat_sec[idx++]; | 360 | buildid_sec = &feat_sec[idx++]; |
361 | lseek(fd, buildid_sec->offset, SEEK_SET); | 361 | lseek(fd, buildid_sec->offset, SEEK_SET); |
362 | if (perf_header__read_build_ids(fd, buildid_sec->size)) | 362 | if (perf_header__read_build_ids(fd, buildid_sec->offset, buildid_sec->size)) |
363 | pr_debug("failed to read buildids, continuing...\n"); | 363 | pr_debug("failed to read buildids, continuing...\n"); |
364 | } | 364 | } |
365 | 365 | ||