]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospfd: use __func__ in ospf_te.c 2071/head
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 17 Apr 2018 18:08:57 +0000 (14:08 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 17 Apr 2018 18:08:57 +0000 (14:08 -0400)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
ospfd/ospf_te.c

index 13857fd0bae335d7113dd67f5f0391cd0995dd8f..26df7a24cd1736b66dfb2a007d8d3bfadb0d7901 100644 (file)
@@ -1207,12 +1207,12 @@ static struct ospf_lsa *ospf_mpls_te_lsa_new(struct ospf *ospf,
 
        /* Now, create an OSPF LSA instance. */
        if ((new = ospf_lsa_new()) == NULL) {
-               zlog_warn("ospf_mpls_te_lsa_new: ospf_lsa_new() ?");
+               zlog_warn("%s: ospf_lsa_new() ?", __func__);
                stream_free(s);
                return NULL;
        }
        if ((new->data = ospf_lsa_data_new(length)) == NULL) {
-               zlog_warn("ospf_mpls_te_lsa_new: ospf_lsa_data_new() ?");
+               zlog_warn("%s: ospf_lsa_data_new() ?", __func__);
                ospf_lsa_unlock(&new);
                new = NULL;
                stream_free(s);