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

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

index b345100ea0fa5ad6517d28c72cbc53a5bd87e391..11b165bc15444fa66005f2ee65c4579e6c9fef32 100644 (file)
@@ -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);
        }
 
This page took 0.026976 seconds and 4 git commands to generate.