mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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
This commit is contained in:
parent
d31af2ab6b
commit
76b08d84c5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user