- Lauri
>From 8e047c8c8971a3d4aa1a0a8eb173c7eb36d39ffd Mon Sep 17 00:00:00 2001 From: Lauri Kasanen <[email protected]> Date: Fri, 8 Jun 2012 14:44:55 +0300 Subject: [PATCH 2/3] logger: Use correct printf formatter
Signed-off-by: Lauri Kasanen <[email protected]> --- plugins/logger/logger.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/plugins/logger/logger.c b/plugins/logger/logger.c index e412059..cd5daeb 100644 --- a/plugins/logger/logger.c +++ b/plugins/logger/logger.c @@ -222,7 +222,7 @@ void *mk_logger_worker_init(void *args) slen = splice(events[i].data.fd, NULL, flog, NULL, bytes, SPLICE_F_MOVE); if (slen == -1) { - mk_warn("Could not write to log file: splice() = %i", slen); + mk_warn("Could not write to log file: splice() = %ld", slen); } PLUGIN_TRACE("written %i bytes", bytes); -- 1.7.2.1
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
