]> git.e2factory.org Git - e2factory.git/commitdiff
Fix call to warnf() without category
authorTobias Ulmer <tu@emlix.com>
Thu, 16 Jan 2014 11:45:54 +0000 (12:45 +0100)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 14:41:17 +0000 (15:41 +0100)
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 <tu@emlix.com>
generic/tools.lua

index c8e40e6f4ac32aef68544bee8c60c4748957899e..af8431469594a7dee83f8fd229c2e4b264fe6cc2 100644 (file)
@@ -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