summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-29 19:36:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:56 -0500
commit2b69775756a6395f14b1d0e2ef64cc7d84deeca9 (patch)
treeaaf3f98850ba5a8e270c16701f1314e173c1db73
parent0e20456c1fa93698c4b81a5ee7d539be085858ae (diff)
downloadsamba-2b69775756a6395f14b1d0e2ef64cc7d84deeca9.tar.gz
samba-2b69775756a6395f14b1d0e2ef64cc7d84deeca9.tar.bz2
samba-2b69775756a6395f14b1d0e2ef64cc7d84deeca9.zip
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)
-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 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 {