From: David Goulet Date: Wed, 14 May 2014 15:30:16 +0000 (-0400) Subject: Fix: incorrect printf format X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=57d3d3727af47aeb0cc5ddf0e522b3ac14687ddf;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 b345100ea..11b165bc1 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -660,7 +660,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); }