mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Remove strerror usages
This commit is contained in:
parent
3a9a60a453
commit
9b0a499b58
9 changed files with 32 additions and 27 deletions
|
@ -56,7 +56,8 @@ namespace Files
|
|||
const auto err = ec.value();
|
||||
if (err != 0)
|
||||
{
|
||||
Log(Debug::Warning) << "Error " << err << " " << std::strerror(err) << " when changing current directory";
|
||||
Log(Debug::Warning) << "Error " << err << " " << std::generic_category().message(errno)
|
||||
<< " when changing current directory";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue