summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Unix/Path.inc
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-08-22 05:28:38 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-08-22 05:28:38 +0000
commit6ad2a91fb38073e4462f78634ea5ccc3777ae6ba (patch)
tree85fce5a4741e726301697426baa6886da3c611df /llvm/lib/System/Unix/Path.inc
parent568dca96c9ac765bae41b8abc30861a953ade6fd (diff)
downloadbcm5719-llvm-6ad2a91fb38073e4462f78634ea5ccc3777ae6ba.tar.gz
bcm5719-llvm-6ad2a91fb38073e4462f78634ea5ccc3777ae6ba.zip
Make an error message a little more intelligible.
llvm-svn: 29808
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 f79b2b2064a..bd29d8da8d1 100644
--- a/llvm/lib/System/Unix/Path.inc
+++ b/llvm/lib/System/Unix/Path.inc
@@ -352,7 +352,7 @@ bool
Path::getFileStatus(FileStatus &info, std::string *ErrStr) const {
struct stat buf;
if (0 != stat(path.c_str(), &buf))
- return GetErrno(path + ": can't determine type of path object: ", ErrStr);
+ return GetErrno(path + ": can't get status of file '" + path + "'", ErrStr);
info.fileSize = buf.st_size;
info.modTime.fromEpochTime(buf.st_mtime);
info.mode = buf.st_mode;
OpenPOWER on IntegriCloud