diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-08-22 05:28:38 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-08-22 05:28:38 +0000 |
commit | 6ad2a91fb38073e4462f78634ea5ccc3777ae6ba (patch) | |
tree | 85fce5a4741e726301697426baa6886da3c611df /llvm/lib/System/Unix/Path.inc | |
parent | 568dca96c9ac765bae41b8abc30861a953ade6fd (diff) | |
download | bcm5719-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.inc | 2 |
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; |