diff options
author | David Lamparter <equinox@diac24.net> | 2021-02-14 15:35:07 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2021-02-14 15:36:51 +0100 |
commit | 1d5453d6070f5266f0bdf709690282a0dc5dc83d (patch) | |
tree | 7eb4346adce641e92cc79a0be696908e924466e1 /lib/thread.c | |
parent | Merge pull request #8036 from qlyoung/disable-mallinfo (diff) | |
download | frr-1d5453d6070f5266f0bdf709690282a0dc5dc83d.tar.xz frr-1d5453d6070f5266f0bdf709690282a0dc5dc83d.zip |
*: remove tabs & newlines from log messages
Neither tabs nor newlines are acceptable in syslog messages. They also
break line-based parsing of file logs.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/thread.c')
-rw-r--r-- | lib/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.c b/lib/thread.c index c140c7600..e0d734a95 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -1365,7 +1365,7 @@ static int thread_process_io_helper(struct thread_master *m, if (!thread) { if ((actual_state & (POLLHUP|POLLIN)) != POLLHUP) flog_err(EC_LIB_NO_THREAD, - "Attempting to process an I/O event but for fd: %d(%d) no thread to handle this!\n", + "Attempting to process an I/O event but for fd: %d(%d) no thread to handle this!", m->handler.pfds[pos].fd, actual_state); return 0; } |