summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/lib/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/debug.c b/source/lib/debug.c
index 02bf6710f55..8f7887006f3 100644
--- a/source/lib/debug.c
+++ b/source/lib/debug.c
@@ -422,7 +422,7 @@ static void format_debug_text( char *msg )
if( '\n' == msg[i] )
{
format_bufr[format_pos] = '\0';
- Debug1( format_bufr );
+ Debug1( "%s", format_bufr );
format_pos = 0;
}
}