From f8661a183c493f34497f329bb4afd13feb549335 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 16 Jan 2009 05:41:59 +0000 Subject: mod_posix: logging fix --- plugins/mod_posix.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index 6e619c53..901cb53d 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.lua @@ -2,7 +2,7 @@ local want_pposix_version = "0.3.0"; local pposix = assert(require "util.pposix"); -if pposix._VERSION ~= want_pposix_version then log("warn", "Unknown version (%s) of binary pposix module, expected %s", tostring(pposix._VERSION), want_pposix_version); end +if pposix._VERSION ~= want_pposix_version then module:log("warn", "Unknown version (%s) of binary pposix module, expected %s", tostring(pposix._VERSION), want_pposix_version); end local config_get = require "core.configmanager".get; local logger_set = require "util.logger".setwriter; -- cgit v1.2.3