aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/inets_app/inets_lib.erl
diff options
context:
space:
mode:
authorErland Schönbeck <[email protected]>2015-04-28 13:07:43 +0200
committerErland Schönbeck <[email protected]>2015-04-28 13:07:43 +0200
commitb999f25cbbe37555e5b8a1d09b8fca3960309cde (patch)
tree906b31277e684e1f6212fa5e7bf51ef5e60d9a45 /lib/inets/src/inets_app/inets_lib.erl
parent861145a503c77d8144033f38d288bdda31699edd (diff)
downloadotp-b999f25cbbe37555e5b8a1d09b8fca3960309cde.tar.gz
otp-b999f25cbbe37555e5b8a1d09b8fca3960309cde.tar.bz2
otp-b999f25cbbe37555e5b8a1d09b8fca3960309cde.zip
inets: Remove dialyzer warning for inets_lib
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 e79959f678..fa6adaebd0 100644
--- a/lib/inets/src/inets_app/inets_lib.erl
+++ b/lib/inets/src/inets_app/inets_lib.erl
@@ -26,7 +26,7 @@
%% Help function, elapsed milliseconds since T0
millisec_passed({_,_,_} = T0 ) ->
%% OTP 17 and earlier
- timer:now_diff(inets_time_compat:monotonic_time(), T0) div 1000;
+ timer:now_diff(inets_time_compat:timestamp(), T0) div 1000;
millisec_passed(T0) ->
%% OTP 18