]> git.e2factory.org Git - e2factory.git/commitdiff
fix broken warning
authorGordon Hecker <gh@emlix.com>
Tue, 23 Mar 2010 14:52:58 +0000 (15:52 +0100)
committerGordon Hecker <gh@emlix.com>
Mon, 3 May 2010 09:49:51 +0000 (11:49 +0200)
local/e2tool.lua

index 02aea5d637a195ba8f6b61361635d1d8279a003f..5feef6ad45c72d19b1a73e4a7710e504df49ebbf 100644 (file)
@@ -1871,8 +1871,8 @@ function check_result(info, resultname)
                end
        end
        if type(res.depends) == "nil" then
-               e2lib.warn("WDEFAULT", "in result %s: ", resultname)
-               e2lib.warn("WDEFAULT", " depends attribute not configured. " ..
+               e2lib.warnf("WDEFAULT", "in result %s: ", resultname)
+               e2lib.warnf("WDEFAULT", " depends attribute not configured. " ..
                                "Defaulting to empty list")
                res.depends = {}
        elseif type(res.depends) == "string" then