diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-03-14 19:41:15 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-03-14 19:41:15 +0100 |
commit | 9165c5f5ff9586e4688b3cbac265d3593f1231cc (patch) | |
tree | ad9f94dd4e5d49c33e955518800fda79dcd4643c /zebra/kernel_netlink.c | |
parent | Merge pull request #3936 from donaldsharp/ospf_1000_club (diff) | |
download | frr-9165c5f5ff9586e4688b3cbac265d3593f1231cc.tar.xz frr-9165c5f5ff9586e4688b3cbac265d3593f1231cc.zip |
*: remove trailing newlines from zlog messages
Zlog puts its own newlines on, and doing this makes logs look nasty.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/kernel_netlink.c')
-rw-r--r-- | zebra/kernel_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/kernel_netlink.c b/zebra/kernel_netlink.c index 2f850c633..c5fbfd448 100644 --- a/zebra/kernel_netlink.c +++ b/zebra/kernel_netlink.c @@ -652,7 +652,7 @@ static void netlink_parse_extended_ack(struct nlmsghdr *h) off = *(uint32_t *)RTA_DATA(tb[NLMSGERR_ATTR_OFFS]); if (off > h->nlmsg_len) { - zlog_err("Invalid offset for NLMSGERR_ATTR_OFFS\n"); + zlog_err("Invalid offset for NLMSGERR_ATTR_OFFS"); } else if (!(h->nlmsg_flags & NLM_F_CAPPED)) { /* * Header of failed message |