diff options
Diffstat (limited to 'bgpd/bgp_zebra.c')
| -rw-r--r-- | bgpd/bgp_zebra.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c index b52c4b62ec..63214c5676 100644 --- a/bgpd/bgp_zebra.c +++ b/bgpd/bgp_zebra.c @@ -2390,7 +2390,7 @@ static int bgp_zebra_route_notify_owner(int command, struct zclient *zclient, if (!zapi_route_notify_decode(zclient->ibuf, &p, &table_id, ¬e, &afi, &safi)) { - zlog_err("%s : error in msg decode", __PRETTY_FUNCTION__); + zlog_err("%s : error in msg decode", __func__); return -1; } @@ -2398,8 +2398,8 @@ static int bgp_zebra_route_notify_owner(int command, struct zclient *zclient, bgp = bgp_lookup_by_vrf_id(vrf_id); if (!bgp) { flog_err(EC_BGP_INVALID_BGP_INSTANCE, - "%s : bgp instance not found vrf %d", - __PRETTY_FUNCTION__, vrf_id); + "%s : bgp instance not found vrf %d", __func__, + vrf_id); return -1; } |
