]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
module loading nitpick: improve error message
authorVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 9 Apr 2019 07:44:22 +0000 (09:44 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 13 Jun 2019 13:03:15 +0000 (15:03 +0200)
This should have been a part of 176b1c282, but I forgot it somehow.

lib/module.c

index c88bd245291c91a95558e7f5a1ef74dc5d5e201d..a5487a6b419d71ba86dda40423188319f8467be0 100644 (file)
@@ -98,7 +98,9 @@ static int load_sym_c(struct kr_module *module, uint32_t api_required)
            || load_symbol(module->lib, m_prefix, "props")) {
                /* In case someone re-compiled against new kresd
                 * but haven't actually changed the symbols. */
-               kr_log_error("[system] module %s needs to change API.\n", module->name);
+               kr_log_error("[system] module %s requires upgrade.  Please refer to "
+                       "https://knot-resolver.readthedocs.io/en/stable/upgrading.hml",
+                       module->name);
                return kr_error(ENOTSUP);
        }