diff --git a/ospfd/ospf_ri.c b/ospfd/ospf_ri.c index 4b77943108..602f98d141 100644 --- a/ospfd/ospf_ri.c +++ b/ospfd/ospf_ri.c @@ -1231,7 +1231,7 @@ static int ospf_router_info_lsa_update(struct ospf_lsa *lsa) vty_out(vty, " Wrong %s TLV size: %d(%d)\n", \ msg, ntohs(tlvh->length), size); \ else \ - zlog_debug(" Wrong %s TLV size: %d(%d)\n", \ + zlog_debug(" Wrong %s TLV size: %d(%d)", \ msg, ntohs(tlvh->length), size); \ return size + TLV_HDR_SIZE; \ } \ diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c index 0946e51077..333fa6a3a1 100644 --- a/ospfd/ospf_te.c +++ b/ospfd/ospf_te.c @@ -3161,11 +3161,11 @@ static void ospf_te_init_ted(struct ls_ted *ted, struct ospf *ospf) vty_out(vty, " Wrong %s TLV size: %d(%d)\n", \ msg, ntohs(tlvh->length), size); \ else \ - zlog_debug(" Wrong %s TLV size: %d(%d)\n", \ + zlog_debug(" Wrong %s TLV size: %d(%d)", \ msg, ntohs(tlvh->length), size); \ return size + TLV_HDR_SIZE; \ } \ - } while(0) + } while (0) static uint16_t show_vty_router_addr(struct vty *vty, struct tlv_header *tlvh) {