mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-12-25 21:59:30 +01:00
Made an error message clearer
This commit is contained in:
parent
5e3a3b4ceb
commit
d1a1254dbe
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ unsigned int getFileSize(const string &iFileName)
|
|||
{
|
||||
struct stat stat_buf;
|
||||
if (stat(iFileName.c_str(), &stat_buf) < 0)
|
||||
throw DicException((fmt(_("Cannot stat file '%1%'")) % iFileName).str());
|
||||
throw DicException((fmt(_("Could not open file '%1%'")) % iFileName).str());
|
||||
return (unsigned int)stat_buf.st_size;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue