summaryrefslogtreecommitdiffstats
path: root/bgpd/bgpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgpd.c')
-rw-r--r--bgpd/bgpd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c
index 0e1278b1d..26a22c399 100644
--- a/bgpd/bgpd.c
+++ b/bgpd/bgpd.c
@@ -3398,8 +3398,9 @@ int bgp_delete(struct bgp *bgp)
/* Deregister from Zebra, if needed */
if (IS_BGP_INST_KNOWN_TO_ZEBRA(bgp)) {
if (BGP_DEBUG(zebra, ZEBRA))
- zlog_debug("%s: deregistering this bgp %s instance from zebra",
- __PRETTY_FUNCTION__, bgp->name);
+ zlog_debug(
+ "%s: deregistering this bgp %s instance from zebra",
+ __func__, bgp->name);
bgp_zebra_instance_deregister(bgp);
}