aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2016-07-26 12:06:57 -0400
committerMichael Mann <mmann78@netscape.net>2016-07-26 17:15:38 +0000
commit916b26ecfe7351393e6bdac3dd389faf6e207779 (patch)
tree3284280b81df79b0639ac8073ef91e111c95082f /wsutil
parent9bfbffa1c8a54053ee73fc3c55330e70c0e79e81 (diff)
Cleanup some checkAPI warnings that were missed in previous patches.
Some search/replace of printf, g_warning and GTK APIs were changed to use a ws_ prefix Change-Id: I9beb763a975530a4006d1afbcad079a7d8d4ebf9 Reviewed-on: https://code.wireshark.org/review/16704 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/time_util.c3
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);
}