mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 13:10:34 +00:00
Be slightly more accurate in an error message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20397 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ded3613fef
commit
1af69a8131
@ -340,7 +340,7 @@ void
|
||||
Path::getStatusInfo(StatusInfo& info) const {
|
||||
struct stat buf;
|
||||
if (0 != stat(path.c_str(), &buf)) {
|
||||
ThrowErrno(std::string("Can't get status: ")+path);
|
||||
ThrowErrno(std::string("Can't get status for path: ")+path);
|
||||
}
|
||||
info.fileSize = buf.st_size;
|
||||
info.modTime.fromEpochTime(buf.st_mtime);
|
||||
|
Loading…
Reference in New Issue
Block a user