Browse Source

[2377] Make error message similar to bind9

Michal 'vorner' Vaner 12 years ago
parent
commit
7631aa8f7c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/master_loader.cc

+ 1 - 1
src/lib/dns/master_loader.cc

@@ -207,7 +207,7 @@ MasterLoader::MasterLoaderImpl::loadIncremental(size_t count_limit) {
                     case MasterToken::END_OF_FILE:
                         callbacks_.warning(lexer_.getSourceName(),
                                            lexer_.getSourceLine(),
-                                           "Unexpected end ond of file");
+                                           "File does not end with newline");
                         // TODO: Try pop in case this is not the only
                         // source
                         return (true);