aboutsummaryrefslogtreecommitdiff
path: root/libsylph/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph/utils.c')
-rw-r--r--libsylph/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/utils.c b/libsylph/utils.c
index ed3ac5d7..1336d954 100644
--- a/libsylph/utils.c
+++ b/libsylph/utils.c
@@ -4139,7 +4139,7 @@ void log_print(const gchar *format, ...)
g_vsnprintf(buf + TIME_LEN, BUFFSIZE, format, args);
va_end(args);
- if (debug_mode) fputs(buf, stdout);
+ if (debug_mode) g_print("%s", buf);
log_print_ui_func(buf);
if (log_fp) {
fputs(buf, log_fp);