diff options
author | Martin Schwenke <martin@meltin.net> | 2014-10-15 20:04:45 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2014-10-28 05:42:04 +0100 |
commit | 96106e085a3a8bab51c8b14e85ba1a817d5fa55b (patch) | |
tree | a3dba25865a8d96b621682b688200685b37739a8 /ctdb | |
parent | d4f233a746d89e13aae78008b499c71b695ff882 (diff) | |
download | samba-96106e085a3a8bab51c8b14e85ba1a817d5fa55b.tar.gz samba-96106e085a3a8bab51c8b14e85ba1a817d5fa55b.tar.xz samba-96106e085a3a8bab51c8b14e85ba1a817d5fa55b.zip |
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>
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/server/ctdb_logging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_logging.c b/ctdb/server/ctdb_logging.c index 3aba37b81d..e09aa94f98 100644 --- a/ctdb/server/ctdb_logging.c +++ b/ctdb/server/ctdb_logging.c @@ -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) { |