diff options
author | Namhyung Kim <namhyung@kernel.org> | 2023-04-27 16:05:02 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-05-02 08:36:14 -0300 |
commit | 6a7b57d85f4a6232d435eac945b325d9048f030c (patch) | |
tree | 36e5afca808d98cc451d61401a855f2e6951102a /tools | |
parent | 7586d11d36fad5e6a28736be7ac8f9495e28289a (diff) | |
download | linux-stable-6a7b57d85f4a6232d435eac945b325d9048f030c.tar.gz linux-stable-6a7b57d85f4a6232d435eac945b325d9048f030c.tar.bz2 linux-stable-6a7b57d85f4a6232d435eac945b325d9048f030c.zip |
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/util/print-events.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/print-events.c b/tools/perf/util/print-events.c index f5b2ea0c4fa1..ee145cec42c0 100644 --- a/tools/perf/util/print-events.c +++ b/tools/perf/util/print-events.c @@ -131,7 +131,7 @@ next_sys: free(sys_namelist); } #else - printf("\nWARNING: Your libc doesn't have the scandir function, please ask its maintainers to implement it.\n" + printf("\nWARNING: Your libc doesn't have the scandirat function, please ask its maintainers to implement it.\n" " As a rough fallback, please do 'ls %s' to see the available tracepoint events.\n", events_path); #endif close(events_fd); |