summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_abr.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-03-05 20:17:54 +0200
committerDonatas Abraitis <donatas.abraitis@gmail.com>2020-03-05 20:23:23 +0200
commit15569c58f8001d37bccaed7f99b6987315125036 (patch)
treeb81f9925182682ee2ad7fd969eb1de6f0072ccf8 /ospf6d/ospf6_abr.c
parent38e385615ac3355f09e3f8df99a25a1c30af249a (diff)
*: Replace __PRETTY_FUNCTION__/__FUNCTION__ to __func__
Just keep the code cool. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'ospf6d/ospf6_abr.c')
-rw-r--r--ospf6d/ospf6_abr.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/ospf6d/ospf6_abr.c b/ospf6d/ospf6_abr.c
index ff82bb1798..b0d501dab4 100644
--- a/ospf6d/ospf6_abr.c
+++ b/ospf6d/ospf6_abr.c
@@ -232,8 +232,8 @@ int ospf6_abr_originate_summary_to_area(struct ospf6_route *route,
&route->prefix)), buf,
sizeof(buf));
zlog_debug(
- "%s: route %s with cost %u is not best, ignore."
- , __PRETTY_FUNCTION__, buf,
+ "%s: route %s with cost %u is not best, ignore.",
+ __func__, buf,
route->path.cost);
}
return 0;
@@ -246,9 +246,10 @@ int ospf6_abr_originate_summary_to_area(struct ospf6_route *route,
if (is_debug) {
prefix2str(&route->prefix, buf,
sizeof(buf));
- zlog_debug("%s: intra-prefix route %s with cost %u is not best, ignore."
- , __PRETTY_FUNCTION__, buf,
- route->path.cost);
+ zlog_debug(
+ "%s: intra-prefix route %s with cost %u is not best, ignore.",
+ __func__, buf,
+ route->path.cost);
}
return 0;
}