summaryrefslogtreecommitdiff
path: root/lib/System
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-03-02 05:45:56 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-03-02 05:45:56 +0000
commit1af69a81310597bd748a1a826f78929a48f411e1 (patch)
tree5f73097748a5e82d9706fd6d50fe7be87c4d0fee /lib/System
parentded3613fef825e45f0fcadbefc60df151d72abc9 (diff)
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
Diffstat (limited to 'lib/System')
-rw-r--r--lib/System/Unix/Path.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Unix/Path.inc b/lib/System/Unix/Path.inc
index 99923335c5a..e37741bc268 100644
--- a/lib/System/Unix/Path.inc
+++ b/lib/System/Unix/Path.inc
@@ -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);