From 2b69775756a6395f14b1d0e2ef64cc7d84deeca9 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 29 May 2007 19:36:13 +0000 Subject: r23226: Make the "debug prefix timestamp" output a bit more readable by making the debug level alway at least 2 digits (This used to be commit 94d2fd919c268efa3df2661d2ccb32e492c52f53) --- source3/lib/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/debug.c') diff --git a/source3/lib/debug.c b/source3/lib/debug.c index 049ef5cfa4..4bbbf88d0d 100644 --- a/source3/lib/debug.c +++ b/source3/lib/debug.c @@ -979,7 +979,7 @@ BOOL dbghdr( int level, const char *file, const char *func, int line ) /* Print it all out at once to prevent split syslog output. */ if( lp_debug_prefix_timestamp() ) { - (void)Debug1( "[%s, %d%s] ", + (void)Debug1( "[%s, %2d%s] ", current_timestring(lp_debug_hires_timestamp()), level, header_str); } else { -- cgit