aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Perlind <perlindluca@gmail.com>2025-05-08 17:45:29 +1000
committerLucas Perlind <perlindluca@gmail.com>2025-05-08 17:45:29 +1000
commitf5b947ea73b67dfec5bff386ae490c6fbecdedfc (patch)
tree1783735184e85ce24720a1590beea20e40b0d1a9
parent14c5096b81d38ecc585c598ca6d15c5ca342aca5 (diff)
Fix linux
-rw-r--r--core/os/os2/process_linux.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os2/process_linux.odin b/core/os/os2/process_linux.odin
index 8dffac08b..170f0ea1a 100644
--- a/core/os/os2/process_linux.odin
+++ b/core/os/os2/process_linux.odin
@@ -327,7 +327,7 @@ _process_info_by_pid :: proc(pid: int, selection: Process_Info_Fields, allocator
strings.write_int(&path_builder, pid)
strings.write_string(&path_builder, "/exe")
- if exe_bytes, exe_err := _read_link(strings.to_string(path_builder), temp_allocator()); exe_err == nil {
+ if exe_bytes, exe_err := _read_link(strings.to_string(path_builder), temp_allocator); exe_err == nil {
info.executable_path = strings.clone(string(exe_bytes), allocator) or_return
info.fields += {.Executable_Path}
} else {