1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Make an error message a little more intelligible.

llvm-svn: 29808
This commit is contained in:
Reid Spencer 2006-08-22 05:28:38 +00:00
parent eaa5886483
commit 0d39935a51

View File

@ -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;