Browse Source

defaults: fix check_kmod() function

Fixes 06fa692 ("defaults: use a generic check_kmod() function")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich 5 years ago
parent
commit
1c4d5bcd11
1 changed files with 1 additions and 1 deletions
  1. 1 1
      defaults.c

+ 1 - 1
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;
 }