zebra: Fix newline in log message

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2022-05-18 14:41:40 -04:00
parent cea8b6556f
commit 1b3cf91b0c

View File

@ -591,7 +591,7 @@ bool nl_addraw_l(struct nlmsghdr *n, unsigned int maxlen, const void *data,
unsigned int len) unsigned int len)
{ {
if (NLMSG_ALIGN(n->nlmsg_len) + NLMSG_ALIGN(len) > maxlen) { if (NLMSG_ALIGN(n->nlmsg_len) + NLMSG_ALIGN(len) > maxlen) {
zlog_err("ERROR message exceeded bound of %d\n", maxlen); zlog_err("ERROR message exceeded bound of %d", maxlen);
return false; return false;
} }