diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-03-05 20:17:54 +0200 | 
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-03-05 20:23:23 +0200 | 
| commit | 15569c58f8001d37bccaed7f99b6987315125036 (patch) | |
| tree | b81f9925182682ee2ad7fd969eb1de6f0072ccf8 /ripngd/ripng_routemap.c | |
| parent | 38e385615ac3355f09e3f8df99a25a1c30af249a (diff) | |
*: Replace __PRETTY_FUNCTION__/__FUNCTION__ to __func__
Just keep the code cool.
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'ripngd/ripng_routemap.c')
| -rw-r--r-- | ripngd/ripng_routemap.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/ripngd/ripng_routemap.c b/ripngd/ripng_routemap.c index 6123591429..b5f80d2ab0 100644 --- a/ripngd/ripng_routemap.c +++ b/ripngd/ripng_routemap.c @@ -237,9 +237,9 @@ static void *route_set_metric_compile(const char *arg)  		return mod;  	if (metric > RIPNG_METRIC_INFINITY) { -		zlog_info("%s: Metric specified: %ld is being converted into METRIC_INFINITY", -			  __PRETTY_FUNCTION__, -			  metric); +		zlog_info( +			"%s: Metric specified: %ld is being converted into METRIC_INFINITY", +			__func__, metric);  		mod->metric = RIPNG_METRIC_INFINITY;  	} else  		mod->metric = metric;  | 
