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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/u_debug.c b/src/util/u_debug.c
index f6ed0138c1f..ab3c8eb316d 100644
--- a/src/util/u_debug.c
+++ b/src/util/u_debug.c
@@ -55,7 +55,7 @@ _debug_vprintf(const char *format, va_list ap)
/* We buffer until we find a newline. */
size_t len = strlen(buf);
int ret = util_vsnprintf(buf + len, sizeof(buf) - len, format, ap);
- if (ret > (int)(sizeof(buf) - len - 1) || util_strchr(buf + len, '\n')) {
+ if (ret > (int)(sizeof(buf) - len - 1) || strchr(buf + len, '\n')) {
os_log_message(buf);
buf[0] = '\0';
}