From: Jo-Philipp Wich Date: Mon, 13 Aug 2018 11:58:22 +0000 (+0200) Subject: defaults: fix check_kmod() function X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;ds=sidebyside;h=1c4d5bcd1137e61e91dca858fe33d76d7a1dc821;p=project%2Ffirewall3.git defaults: fix check_kmod() function Fixes 06fa692 ("defaults: use a generic check_kmod() function") Signed-off-by: Jo-Philipp Wich --- diff --git a/defaults.c b/defaults.c index 44fe629..91bd617 100644 --- a/defaults.c +++ b/defaults.c @@ -103,7 +103,7 @@ check_kmod(struct uci_element *e, bool *module, const char *name) return; } - warn_elem(e, sprintf("requires module %s but missing kernel support, disabling", name)); + warn_elem(e, "requires not available kernel module %s, disabling", name); *module = false; }