summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Unix/Path.inc
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
commita55666921916a2b9ecf853ea0990f0b49fa16637 (patch)
tree5ae11ddaf587b4fbcc02962f43716f12313241ba /llvm/lib/System/Unix/Path.inc
parentfe760deb752c06253ad373703b1f51b9dc6f8b08 (diff)
downloadbcm5719-llvm-a55666921916a2b9ecf853ea0990f0b49fa16637.tar.gz
bcm5719-llvm-a55666921916a2b9ecf853ea0990f0b49fa16637.zip
Be slightly more accurate in an error message.
llvm-svn: 20397
Diffstat (limited to 'llvm/lib/System/Unix/Path.inc')
-rw-r--r--llvm/lib/System/Unix/Path.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/Unix/Path.inc b/llvm/lib/System/Unix/Path.inc
index 99923335c5a..e37741bc268 100644
--- a/llvm/lib/System/Unix/Path.inc
+++ b/llvm/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);
OpenPOWER on IntegriCloud