summaryrefslogtreecommitdiffstats
path: root/zebra/kernel_socket.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-03-24 19:15:04 +0100
committerDavid Lamparter <equinox@diac24.net>2020-03-24 19:43:18 +0100
commit63efca0e95c727318485fe6d37141f79b1401a88 (patch)
treec07189c4864e1358e043cd25d8fdf76752ea899e /zebra/kernel_socket.c
parent*: remove tabs from log messages (diff)
downloadfrr-63efca0e95c727318485fe6d37141f79b1401a88.tar.xz
frr-63efca0e95c727318485fe6d37141f79b1401a88.zip
*: remove line breaks from log messages
Line break at the end of the message is implicit for zlog_* and flog_*, don't put it in the string. Mid-message line breaks are currently unsupported. (LF is "end of message" in syslog.) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/kernel_socket.c')
-rw-r--r--zebra/kernel_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c
index 5ab521066..950690b94 100644
--- a/zebra/kernel_socket.c
+++ b/zebra/kernel_socket.c
@@ -1393,7 +1393,7 @@ static int kernel_read(struct thread *thread)
*/
if (rtm->rtm_msglen != nbytes) {
zlog_debug(
- "kernel_read: rtm->rtm_msglen %d, nbytes %d, type %d\n",
+ "kernel_read: rtm->rtm_msglen %d, nbytes %d, type %d",
rtm->rtm_msglen, nbytes, rtm->rtm_type);
return -1;
}