From 1c4d5bcd1137e61e91dca858fe33d76d7a1dc821 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 13 Aug 2018 13:58:22 +0200 Subject: [PATCH] defaults: fix check_kmod() function Fixes 06fa692 ("defaults: use a generic check_kmod() function") Signed-off-by: Jo-Philipp Wich --- defaults.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1