Commit 4d49a999 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

fs: unix: directory: Fix error message

parent f843ad97
......@@ -120,7 +120,7 @@ void Directory::read()
if ( lstat( path.c_str(), &s ) != 0 )
{
std::string err( "Failed to get file info " );
err += m_path;
err += path;
err += strerror(errno);
throw std::runtime_error( err );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment