diff --git a/tools/perf/util/dso.c b/tools/perf/util/dso.c index c2f7d3b90966a66fb5d628e933d92fb83325a582..a8b3f18db1a599c7764342bab23d0063d6b40e86 100644 --- a/tools/perf/util/dso.c +++ b/tools/perf/util/dso.c @@ -240,7 +240,7 @@ static int do_open(char *name) if (fd >= 0) return fd; - pr_debug("dso open failed, mmap: %s\n", + pr_debug("dso open failed: %s\n", strerror_r(errno, sbuf, sizeof(sbuf))); if (!dso__data_open_cnt || errno != EMFILE) break;