aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/tftp/tftp_sup.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/tftp/tftp_sup.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/tftp/tftp_sup.erl')
-rw-r--r--lib/inets/src/tftp/tftp_sup.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/inets/src/tftp/tftp_sup.erl b/lib/inets/src/tftp/tftp_sup.erl
index 98b92cc87c..40b67c499c 100644
--- a/lib/inets/src/tftp/tftp_sup.erl
+++ b/lib/inets/src/tftp/tftp_sup.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2005-2015. All Rights Reserved.
+%% Copyright Ericsson AB 2005-2016. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -94,7 +94,7 @@ unique_name(Options) ->
{value, {_, Port}} when is_integer(Port), Port > 0 ->
{tftpd, Port};
_ ->
- {tftpd, inets_time_compat:unique_integer([positive])}
+ {tftpd, erlang:unique_integer([positive])}
end.
default_kill_after() ->