Skip to content

Commit 9daaae4

Browse files
Avoid confusion on unexisting libperfmap file on mac os
1 parent 3e1e292 commit 9daaae4

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)