]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2377] Make error message similar to bind9
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Tue, 11 Dec 2012 10:23:59 +0000 (11:23 +0100)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Tue, 11 Dec 2012 10:23:59 +0000 (11:23 +0100)
src/lib/dns/master_loader.cc

index 6c13f9c7d96b5f270286db6ed1def95643e3cd16..941a100948749a627ca3e176495fd23ea0c8b279 100644 (file)
@@ -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);