From d3fd815eb3a2648fcce045a39895a9904c9726f7 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Thu, 1 Feb 2024 19:41:13 +0100 Subject: [PATCH] Use set_flog_file_fd via import --- src/bin/fish.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/fish.rs b/src/bin/fish.rs index 70b462445..9a6907930 100644 --- a/src/bin/fish.rs +++ b/src/bin/fish.rs @@ -520,7 +520,7 @@ fn main() { // Rust sets O_CLOEXEC by default // https://github.com/rust-lang/rust/blob/07438b0928c6691d6ee734a5a77823ec143be94d/library/std/src/sys/unix/fs.rs#L1059 - flog::set_flog_file_fd(dbg_file.as_raw_fd()); + set_flog_file_fd(dbg_file.as_raw_fd()); } Err(e) => { // TODO: should not be debug-print