X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffs%2Fwindows%2Fstat.cpp;h=a1f19efa7de25f5bd462aa8f08dcde57726161c4;hb=7be37ad97a2fd3494cb5d56badb45997353ff709;hp=229d9e9485cda8a6c8e1f31d30b4f83fae232836;hpb=c73d8eee1982ba4982518d3f28651f848f130730;p=libs%2Fcore.git diff --git a/source/fs/windows/stat.cpp b/source/fs/windows/stat.cpp index 229d9e9..a1f19ef 100644 --- a/source/fs/windows/stat.cpp +++ b/source/fs/windows/stat.cpp @@ -80,7 +80,7 @@ Stat Stat::stat(const Path &path) if(err==ERROR_FILE_NOT_FOUND) return Stat(); else - throw system_error("CreateFile", err); + throw system_error(format("CreateFile(%s)", path), err); } BY_HANDLE_FILE_INFORMATION info;