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:35 +0000 (11:30 -0400)
Fixes #777

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

index 40c402953f354b8c6cbd98ffaf0fc25adb4b7c64..936580029e4a97dff9a20f03a7570aa22ef14f78 100644 (file)
@@ -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);
        }
 
This page took 0.027328 seconds and 4 git commands to generate.