diff options
Diffstat (limited to 'wsutil')
-rw-r--r-- | wsutil/time_util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wsutil/time_util.c b/wsutil/time_util.c index 5f6ac8a39f..cf209bfbb3 100644 --- a/wsutil/time_util.c +++ b/wsutil/time_util.c @@ -32,6 +32,7 @@ #else #include <windows.h> #endif +#include "ws_printf.h" /* ws_g_warning */ /* converts a broken down date representation, relative to UTC, * to a timestamp; it uses timegm() if it's available. @@ -114,7 +115,7 @@ void log_resource_usage(gboolean reset_delta, const char *format, ...) { g_string_append_vprintf(log_str, format, ap); va_end(ap); - g_warning("%s", log_str->str); + ws_g_warning("%s", log_str->str); g_string_free(log_str, TRUE); } |