# HG changeset patch # User Matthew Wild # Date 1365438076 -3600 # Node ID edf3db386a19f1ab6dd5b1da98ff4728a894e5d3 # Parent 941ad88db8f32706bf1c7fee0ff4759c41666003 mod_posix: Improve error message for a pposix version mismatch diff -r 941ad88db8f3 -r edf3db386a19 plugins/mod_posix.lua --- a/plugins/mod_posix.lua Mon Apr 08 16:57:59 2013 +0100 +++ b/plugins/mod_posix.lua Mon Apr 08 17:21:16 2013 +0100 @@ -10,7 +10,9 @@ local want_pposix_version = "0.3.6"; local pposix = assert(require "util.pposix"); -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 +if pposix._VERSION ~= want_pposix_version then + module:log("warn", "Unknown version (%s) of binary pposix module, expected %s. Perhaps you need to recompile?", tostring(pposix._VERSION), want_pposix_version); +end local signal = select(2, pcall(require, "util.signal")); if type(signal) == "string" then