From: David Goulet Date: Wed, 14 May 2014 15:30:16 +0000 (-0400) Subject: Fix: incorrect printf format X-Git-Tag: v2.5.0-rc1~41 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=68e6efddb6a27675d6cf15161d7b0101154b56ac 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); }