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:
Reid Spencer
2005-03-02 05:45:56 +00:00
parent ded3613fef
commit 1af69a8131

View File

@@ -340,7 +340,7 @@ void
Path::getStatusInfo(StatusInfo& info) const { Path::getStatusInfo(StatusInfo& info) const {
struct stat buf; struct stat buf;
if (0 != stat(path.c_str(), &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.fileSize = buf.st_size;
info.modTime.fromEpochTime(buf.st_mtime); info.modTime.fromEpochTime(buf.st_mtime);