From 68e6efddb6a27675d6cf15161d7b0101154b56ac Mon Sep 17 00:00:00 2001 From: David Goulet Date: Wed, 14 May 2014 11:30:16 -0400 Subject: [PATCH] Fix: incorrect printf format Fixes #777 Signed-off-by: David Goulet --- src/common/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.34.1