1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ctdb-logging: Add missing newline when logging to file

This got lost with the transition to the new Samba debug code.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2014-10-15 20:04:45 +11:00 committed by Amitay Isaacs
parent d4f233a746
commit 96106e085a

View File

@ -296,7 +296,7 @@ static void ctdb_logfile_log(void *private_ptr, int dbglevel, const char *s)
strftime(tbuf,sizeof(tbuf)-1,"%Y/%m/%d %H:%M:%S", tm);
ret = asprintf(&s2, "%s.%06u [%s%5u]: %s",
ret = asprintf(&s2, "%s.%06u [%s%5u]: %s\n",
tbuf, (unsigned)t.tv_usec,
debug_extra, (unsigned)getpid(), s);
if (ret == -1) {