Skip to content

Commit 6a7b57d

Browse files
namhyungacmel
authored andcommitted
perf list: Modify the warning message about scandirat(3)
It should mention scandirat() instead of scandir(). Signed-off-by: Namhyung Kim <namhyung@kernel.org> Acked-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20230427230502.1526136-2-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 7586d11 commit 6a7b57d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/perf/util/print-events.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ void print_tracepoint_events(const struct print_callbacks *print_cb __maybe_unus
131131
free(sys_namelist);
132132
}
133133
#else
134-
printf("\nWARNING: Your libc doesn't have the scandir function, please ask its maintainers to implement it.\n"
134+
printf("\nWARNING: Your libc doesn't have the scandirat function, please ask its maintainers to implement it.\n"
135135
" As a rough fallback, please do 'ls %s' to see the available tracepoint events.\n", events_path);
136136
#endif
137137
close(events_fd);

0 commit comments

Comments
 (0)