# HG changeset patch # User Matthew Wild # Date 1232084519 0 # Node ID d247d061409ac441286c1168e66ea2008a1a13be # Parent cfb4ec5cba5ee4be5772cc28d409dd0f23ce81d0 mod_posix: logging fix diff -r cfb4ec5cba5e -r d247d061409a plugins/mod_posix.lua --- a/plugins/mod_posix.lua Fri Jan 16 05:40:40 2009 +0000 +++ b/plugins/mod_posix.lua Fri Jan 16 05:41:59 2009 +0000 @@ -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;