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 | 76b08d84c546d2d94bd8c4da4a5bbfa912a70d65 (patch) | |
tree | c11be52f976592791e3e18e961ff6e6e123bdbc8 /lib/System/Unix/Path.inc | |
parent | d31af2ab6b3ceba60220fc12c84cb7f316c8deb3 (diff) | |
download | llvm-76b08d84c546d2d94bd8c4da4a5bbfa912a70d65.tar.gz llvm-76b08d84c546d2d94bd8c4da4a5bbfa912a70d65.tar.bz2 llvm-76b08d84c546d2d94bd8c4da4a5bbfa912a70d65.tar.xz |
Make an error message a little more intelligible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29808 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Unix/Path.inc')
-rw-r--r-- | lib/System/Unix/Path.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Unix/Path.inc b/lib/System/Unix/Path.inc index f79b2b2064..bd29d8da8d 100644 --- a/lib/System/Unix/Path.inc +++ b/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; |