summaryrefslogtreecommitdiffstats
path: root/src/util/u_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/u_debug.c')
-rw-r--r--src/util/u_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/u_debug.c b/src/util/u_debug.c
index 9e547f508ca..421ae95227b 100644
--- a/src/util/u_debug.c
+++ b/src/util/u_debug.c
@@ -54,13 +54,13 @@ _debug_vprintf(const char *format, va_list ap)
#if defined(PIPE_OS_WINDOWS) || defined(PIPE_SUBSYSTEM_EMBEDDED)
/* We buffer until we find a newline. */
size_t len = strlen(buf);
- int ret = util_vsnprintf(buf + len, sizeof(buf) - len, format, ap);
+ int ret = vsnprintf(buf + len, sizeof(buf) - len, format, ap);
if (ret > (int)(sizeof(buf) - len - 1) || strchr(buf + len, '\n')) {
os_log_message(buf);
buf[0] = '\0';
}
#else
- util_vsnprintf(buf, sizeof(buf), format, ap);
+ vsnprintf(buf, sizeof(buf), format, ap);
os_log_message(buf);
#endif
}