about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPavel Grigorenko <GrigorenkoPV@ya.ru>2025-08-29 12:13:30 +0300
committerPavel Grigorenko <GrigorenkoPV@ya.ru>2025-08-29 12:14:17 +0300
commite3f1e94be775db497c15e2119d09b62bb834c91f (patch)
tree21fbc7be35bee7d97f27d2c2a5ee23f036ddceeb
parent41f2b6b39e7526a28d50ff6918dda6de48add5e4 (diff)
downloadrust-e3f1e94be775db497c15e2119d09b62bb834c91f.tar.gz
rust-e3f1e94be775db497c15e2119d09b62bb834c91f.zip
std: haiku: fix `B_FIND_PATH_IMAGE_PATH`
-rw-r--r--library/std/src/sys/pal/unix/os.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/pal/unix/os.rs b/library/std/src/sys/pal/unix/os.rs
index 81275afa707..d70f1aab77e 100644
--- a/library/std/src/sys/pal/unix/os.rs
+++ b/library/std/src/sys/pal/unix/os.rs
@@ -469,7 +469,7 @@ pub fn current_exe() -> io::Result<PathBuf> {
     unsafe {
         let result = libc::find_path(
             crate::ptr::null_mut(),
-            libc::path_base_directory::B_FIND_PATH_IMAGE_PATH,
+            libc::B_FIND_PATH_IMAGE_PATH,
             crate::ptr::null_mut(),
             name.as_mut_ptr(),
             name.len(),