getcwd: fix bad error message

This commit is contained in:
Johannes Altmanninger 2023-10-08 18:17:48 +02:00
parent ad75c72621
commit d764625069

View File

@ -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()
}