aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/inets_app/inets_lib.erl
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2016-05-13 08:26:58 +0200
committerLars Thorsen <[email protected]>2016-05-18 15:23:08 +0200
commit07906b7d9f1c2f72810d9ae12b38415cc3c1e86d (patch)
tree0b3e134337ed66530c66e0211a647a439507f1ce /lib/inets/src/inets_app/inets_lib.erl
parenta1086ac00ece8044b4055047aaac2f912a5ca18e (diff)
downloadotp-07906b7d9f1c2f72810d9ae12b38415cc3c1e86d.tar.gz
otp-07906b7d9f1c2f72810d9ae12b38415cc3c1e86d.tar.bz2
otp-07906b7d9f1c2f72810d9ae12b38415cc3c1e86d.zip
[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