From: Gordon Hecker Date: Tue, 23 Mar 2010 14:52:58 +0000 (+0100) Subject: fix broken warning X-Git-Tag: e2factory-2.3.6pre1~2 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=e407595847db280dc1944151e881382af263f61c;p=e2factory.git fix broken warning --- diff --git a/local/e2tool.lua b/local/e2tool.lua index 02aea5d..5feef6a 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -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