From: Quentin Young Date: Tue, 17 Apr 2018 18:08:57 +0000 (-0400) Subject: ospfd: use __func__ in ospf_te.c X-Git-Tag: frr-5.0-dev~43^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=7ff7fcd2a1da7e9ef0c1f91a5fd794b990f7885b;p=matthieu%2Ffrr.git ospfd: use __func__ in ospf_te.c Signed-off-by: Quentin Young --- diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c index 13857fd0ba..26df7a24cd 100644 --- a/ospfd/ospf_te.c +++ b/ospfd/ospf_te.c @@ -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);