mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Be slightly more accurate in an error message.
llvm-svn: 20397
This commit is contained in:
parent
0bb2828efb
commit
a5fbf1d659
@ -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