Commit 0d305e36 authored by knowledge4igor's avatar knowledge4igor

Change an exception message

parent 940cd9ad
......@@ -31,7 +31,7 @@ void
FileBuffer::init(const char* fileName)
{
if (!fileName) {
throw std::runtime_error("Wrong file name");
throw std::runtime_error("Missing fileName");
}
int fd = open(fileName, O_RDONLY);
if (fd == -1) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment