From: David Goulet Date: Wed, 14 May 2014 15:30:16 +0000 (-0400) Subject: Fix: incorrect printf format X-Git-Tag: v2.4.2~23 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=e4c27a4ba082ced64c5988da045906ff46f48066;p=lttng-tools.git Fix: incorrect printf format Fixes #777 Signed-off-by: David Goulet --- diff --git a/src/common/utils.c b/src/common/utils.c index 40c402953..936580029 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -847,7 +847,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); }