diff --git a/fish-rust/src/wutil/mod.rs b/fish-rust/src/wutil/mod.rs index f4478a986..b9d848ed8 100644 --- a/fish-rust/src/wutil/mod.rs +++ b/fish-rust/src/wutil/mod.rs @@ -101,7 +101,7 @@ pub fn wgetcwd() -> WString { error, "getcwd() failed with errno %d/%s", errno::errno().0, - "errno::errno" + errno::errno().to_string() ); WString::new() }