Skip to content

Commit e3f1e94

Browse files
committed
std: haiku: fix B_FIND_PATH_IMAGE_PATH
1 parent 41f2b6b commit e3f1e94

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/pal/unix

1 file changed

+1
-1
lines changed

library/std/src/sys/pal/unix/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ pub fn current_exe() -> io::Result<PathBuf> {
469469
unsafe {
470470
let result = libc::find_path(
471471
crate::ptr::null_mut(),
472-
libc::path_base_directory::B_FIND_PATH_IMAGE_PATH,
472+
libc::B_FIND_PATH_IMAGE_PATH,
473473
crate::ptr::null_mut(),
474474
name.as_mut_ptr(),
475475
name.len(),

0 commit comments

Comments
 (0)