diff options
author | Forlot Romain [IoT.bzh] <claneys@iot.bzh> | 2017-10-30 19:23:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-30 19:23:38 +0100 |
commit | e3b37437f5c25e86fd85b9d0d13c8bd55712ec7d (patch) | |
tree | 455086530ebeaa734da5b1b94b3db5fbb1ee95cf | |
parent | 1676c44575792a53b1a6144059b664590f9dfad7 (diff) | |
parent | 5e8285841991ce984c1d7e831b0f68b8275ac5b1 (diff) |
Merge pull request #2 from ronan22/master
fix build error
-rw-r--r-- | ctl-lib/ctl-lua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctl-lib/ctl-lua.c b/ctl-lib/ctl-lua.c index cd5d292..85bd9c2 100644 --- a/ctl-lib/ctl-lua.c +++ b/ctl-lib/ctl-lua.c @@ -350,7 +350,7 @@ STATIC int LuaFormatMessage(lua_State* luaState, int verbosity, int level) { PrintMessage: // TBD: __file__ and __line__ should match LUA source code - AFB_ApiVerbose(source->api, level,__FILE__,__LINE__,source->uid, message); + AFB_ApiVerbose(source->api, level,__FILE__,__LINE__,source->uid, "%s", message); return 0; // nothing return to lua OnErrorExit: // on argument to return (the error message) |