From: David Goulet Date: Wed, 14 May 2014 15:30:16 +0000 (-0400) Subject: Fix: incorrect printf format X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=68e6efddb6a27675d6cf15161d7b0101154b56ac;hp=8197a3393bc0cfcc6f3cf75426535cf0b10a506b Fix: incorrect printf format Fixes #777 Signed-off-by: David Goulet --- diff --git a/src/common/utils.c b/src/common/utils.c index 815965bc4..9821815ba 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -889,7 +889,7 @@ size_t utils_get_current_time_str(const char *format, char *dst, size_t len) timeinfo = localtime(&rawtime); ret = strftime(dst, len, format, timeinfo); if (ret == 0) { - ERR("Unable to strftime with format %s at dst %p of len %lu", format, + ERR("Unable to strftime with format %s at dst %p of len %zu", format, dst, len); }