1 parent eeeed83 commit 3ed983aCopy full SHA for 3ed983a
1 file changed
dd-java-agent/cws-tls/src/main/java/datadog/cws/tls/ErpcTls.java
@@ -39,7 +39,7 @@ public interface CLibrary extends Library {
39
static int getGettidSyscallId() {
40
String arch = System.getProperty("os.arch");
41
if (arch.equals("amd64")) {
42
- return 186; // 186 is the syscall ID for "gettid" on amd64
+ return 186; // 186 is the syscall ID for "gettid" on amd64
43
} else if (arch.equals("arm64")) {
44
return 178; // 78 is the syscall ID for "gettid" on arm64
45
}
@@ -52,7 +52,7 @@ static boolean isSupported() {
52
return false;
53
54
try {
55
- CLibrary.Instance.syscall(new NativeLong(syscallID));
+ CLibrary.Instance.syscall(new NativeLong(syscallID));
56
} catch (UnsatisfiedLinkError error) {
57
58
0 commit comments