diff options
-rw-r--r-- | minecproxy/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/minecproxy/main.c b/minecproxy/main.c index 6ec92ba..3a06a8c 100644 --- a/minecproxy/main.c +++ b/minecproxy/main.c @@ -133,14 +133,14 @@ static void msg(enum debug_lvl lvl, const char *fmt, va_list ap) } if (sd_daemon) - fprintf(stderr, sd_lvl); + fprintf(stderr, "%s", sd_lvl); else if (color) - fprintf(stderr, color); + fprintf(stderr, "%s", color); vfprintf(log_file ? log_file : stderr, fmt, ap); if (color) - fprintf(stderr, ansi_normal); + fprintf(stderr, "%s", ansi_normal); } void __debug(enum debug_lvl lvl, const char *fmt, ...) |