aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/inets_app/inets_lib.erl
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2016-05-18 15:23:31 +0200
committerLars Thorsen <[email protected]>2016-05-18 15:23:31 +0200
commitc8cd6f30021d5f28e06d89a6acf834d770b9e972 (patch)
treeb80f97812a4c4db4a291b332457b17cd140d0213 /lib/inets/src/inets_app/inets_lib.erl
parenta1086ac00ece8044b4055047aaac2f912a5ca18e (diff)
parent121fc1f2bcc75f974d3dc4ff6a1af5f2b0cd0492 (diff)
downloadotp-c8cd6f30021d5f28e06d89a6acf834d770b9e972.tar.gz
otp-c8cd6f30021d5f28e06d89a6acf834d770b9e972.tar.bz2
otp-c8cd6f30021d5f28e06d89a6acf834d770b9e972.zip
Merge branch 'lars/inets-deprecated-now/OTP-12441'
* lars/inets-deprecated-now/OTP-12441: [inets] Remove calls to the inets_time_compat module [inets] Remove usage of erlang:now()
Diffstat (limited to 'lib/inets/src/inets_app/inets_lib.erl')
-rw-r--r--lib/inets/src/inets_app/inets_lib.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/src/inets_app/inets_lib.erl b/lib/inets/src/inets_app/inets_lib.erl
index 6e16f5ef6e..8993be29e4 100644
--- a/lib/inets/src/inets_app/inets_lib.erl
+++ b/lib/inets/src/inets_app/inets_lib.erl
@@ -27,7 +27,7 @@
%% Help function, elapsed milliseconds since T0
millisec_passed({_,_,_} = T0 ) ->
%% OTP 17 and earlier
- timer:now_diff(inets_time_compat:timestamp(), T0) div 1000;
+ timer:now_diff(erlang:timestamp(), T0) div 1000;
millisec_passed(T0) ->
%% OTP 18