summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/debug.c b/source3/lib/debug.c
index 02bf6710f5..8f7887006f 100644
--- a/source3/lib/debug.c
+++ b/source3/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;
}
}