From 1ee61757ce7588b361ae677c87d66a38833538bf Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Thu, 16 Jan 2014 12:45:54 +0100 Subject: [PATCH] Fix call to warnf() without category The warning about optional tools can be a WHINT, no need to complain all the time about something that is optional. Signed-off-by: Tobias Ulmer --- generic/tools.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/tools.lua b/generic/tools.lua index c8e40e6..af84314 100644 --- a/generic/tools.lua +++ b/generic/tools.lua @@ -270,7 +270,7 @@ function tools.init() end if not rc then if t.optional then - e2lib.warnf("optional tool is not available: %s", tool) + e2lib.warnf("WHINT", "optional tool is not available: %s", tool) else return false, err.new("required tool is missing: %s", tool) end -- 2.39.5