summaryrefslogtreecommitdiff
path: root/pimd/pim_time.c
diff options
context:
space:
mode:
authorGhasem Naddaf <ghasem.naddaf@gmail.com>2020-03-11 09:50:54 -0700
committerGhasem Naddaf <ghasem.naddaf@gmail.com>2020-03-11 09:50:54 -0700
commit31384f929ad817f5a6459feeb6f27ff292b35e2f (patch)
tree9072ac9757649e446f8018f44379c8068e1bfa23 /pimd/pim_time.c
parent912c556b3a0354f37328f52108777e434307e339 (diff)
parent4a652d922754bfb9e4216347cfc6ea59d068b800 (diff)
Merge branch 'master' into nhrp_bugfix
Diffstat (limited to 'pimd/pim_time.c')
-rw-r--r--pimd/pim_time.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pimd/pim_time.c b/pimd/pim_time.c
index f12f767537..9878fcf6b4 100644
--- a/pimd/pim_time.c
+++ b/pimd/pim_time.c
@@ -37,7 +37,7 @@ static int gettime_monotonic(struct timeval *tv)
if (result) {
flog_err_sys(EC_LIB_SYSTEM_CALL,
"%s: gettimeofday() failure: errno=%d: %s",
- __PRETTY_FUNCTION__, errno, safe_strerror(errno));
+ __func__, errno, safe_strerror(errno));
}
return result;
@@ -54,7 +54,7 @@ int64_t pim_time_monotonic_sec(void)
if (gettime_monotonic(&now_tv)) {
flog_err_sys(EC_LIB_SYSTEM_CALL,
"%s: gettime_monotonic() failure: errno=%d: %s",
- __PRETTY_FUNCTION__, errno, safe_strerror(errno));
+ __func__, errno, safe_strerror(errno));
return -1;
}
@@ -73,7 +73,7 @@ int64_t pim_time_monotonic_dsec(void)
if (gettime_monotonic(&now_tv)) {
flog_err_sys(EC_LIB_SYSTEM_CALL,
"%s: gettime_monotonic() failure: errno=%d: %s",
- __PRETTY_FUNCTION__, errno, safe_strerror(errno));
+ __func__, errno, safe_strerror(errno));
return -1;
}
@@ -91,7 +91,7 @@ int64_t pim_time_monotonic_usec(void)
if (gettime_monotonic(&now_tv)) {
flog_err_sys(EC_LIB_SYSTEM_CALL,
"%s: gettime_monotonic() failure: errno=%d: %s",
- __PRETTY_FUNCTION__, errno, safe_strerror(errno));
+ __func__, errno, safe_strerror(errno));
return -1;
}