summaryrefslogtreecommitdiff
path: root/src/platform/nm-linux-platform.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-01-28 16:21:23 +0100
committerThomas Haller <thaller@redhat.com>2020-02-10 19:11:50 +0100
commit8b63b229dd2466caba2a9e3cda2e26e79dabd401 (patch)
tree35bc33289cb99ac5ef28fe4a1899026608d2d3f8 /src/platform/nm-linux-platform.c
parent53f6858a27a0d9b426bab9b7abedaa82d152fb68 (diff)
downloadNetworkManager-8b63b229dd2466caba2a9e3cda2e26e79dabd401.tar.gz
shared/trivial: rename time related functions to use "nsec"/"msec" abbreviation instead of "ns"/"ms"
The "ns" abbreviation doesn't look too nice. We mostly use "nsec" at other places. Rename.
Diffstat (limited to 'src/platform/nm-linux-platform.c')
-rw-r--r--src/platform/nm-linux-platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c
index 3ae5726d1c..b71576d5d2 100644
--- a/src/platform/nm-linux-platform.c
+++ b/src/platform/nm-linux-platform.c
@@ -741,7 +741,7 @@ _addrtime_timestamp_to_nm (guint32 timestamp, gint32 *out_now_nm)
/* do all the calculations in milliseconds scale */
now_nm = nm_utils_get_monotonic_timestamp_msec ();
- now_nl = nm_utils_clock_gettime_ms (CLOCK_MONOTONIC);
+ now_nl = nm_utils_clock_gettime_msec (CLOCK_MONOTONIC);
nm_assert (now_nm >= 1000);
nm_assert (now_nl >= 0);