Fix: incorrect printf format
authorDavid Goulet <dgoulet@efficios.com>
Wed, 14 May 2014 15:30:16 +0000 (11:30 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 14 May 2014 15:30:16 +0000 (11:30 -0400)
Fixes #777

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/utils.c

index 815965bc4ba25256de830f0794cf357f2150db70..9821815ba06298dfbb7e76de02bbc385b9d49d0d 100644 (file)
@@ -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);
        }
 
This page took 0.02645 seconds and 4 git commands to generate.