Skip to content

Commit d9843a0

Browse files
authored
Merge pull request jvm-profiling-tools#75 from baptistemesta/patch-1
Avoid confusion on unexisting libperfmap file on mac os
2 parents 3e1e292 + 9daaae4 commit d9843a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java/AttachOnce.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static void loadAgent(String pid, String options) throws Exception {
4545
}
4646
String fullPath = lib.getAbsolutePath();
4747
if (!lib.exists()) {
48-
System.out.printf("Expected libperfmap.so at '%s' but it didn't exist.\n", fullPath);
48+
System.out.printf("Expected %s at '%s' but it didn't exist.\n", lib.getName(), fullPath);
4949
System.exit(1);
5050
}
5151
else vm.loadAgentPath(fullPath, options);

0 commit comments

Comments
 (0)