diff options
| author | Lucas Perlind <perlindluca@gmail.com> | 2025-05-08 17:45:29 +1000 |
|---|---|---|
| committer | Lucas Perlind <perlindluca@gmail.com> | 2025-05-08 17:45:29 +1000 |
| commit | f5b947ea73b67dfec5bff386ae490c6fbecdedfc (patch) | |
| tree | 1783735184e85ce24720a1590beea20e40b0d1a9 /core | |
| parent | 14c5096b81d38ecc585c598ca6d15c5ca342aca5 (diff) | |
Fix linux
Diffstat (limited to 'core')
| -rw-r--r-- | core/os/os2/process_linux.odin | 2 |
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 { |