diff options
Diffstat (limited to 'tools/perf/util/module.c')
-rw-r--r-- | tools/perf/util/module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/module.c b/tools/perf/util/module.c index ddabe925d65d..3d567fe59c79 100644 --- a/tools/perf/util/module.c +++ b/tools/perf/util/module.c | |||
@@ -436,9 +436,9 @@ static int mod_dso__load_module_paths(struct mod_dso *self) | |||
436 | goto out_failure; | 436 | goto out_failure; |
437 | 437 | ||
438 | while (!feof(file)) { | 438 | while (!feof(file)) { |
439 | char *path, *name, *tmp; | 439 | char *name, *tmp; |
440 | struct module *module; | 440 | struct module *module; |
441 | int line_len, len; | 441 | int line_len; |
442 | 442 | ||
443 | line_len = getline(&line, &n, file); | 443 | line_len = getline(&line, &n, file); |
444 | if (line_len < 0) | 444 | if (line_len < 0) |