aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/inets/examples/httpd_load_test/hdlt_random_html.erl2
-rw-r--r--lib/inets/src/ftp/ftp.erl2
-rw-r--r--lib/inets/src/tftp/tftp_logger.erl2
-rw-r--r--lib/inets/src/tftp/tftp_sup.erl2
-rw-r--r--lib/inets/test/ftp_suite_lib.erl2
-rw-r--r--lib/inets/test/httpc_SUITE.erl4
-rw-r--r--lib/inets/test/httpd_time_test.erl2
7 files changed, 8 insertions, 8 deletions
diff --git a/lib/inets/examples/httpd_load_test/hdlt_random_html.erl b/lib/inets/examples/httpd_load_test/hdlt_random_html.erl
index 53ec1ea440..c55de628c1 100644
--- a/lib/inets/examples/httpd_load_test/hdlt_random_html.erl
+++ b/lib/inets/examples/httpd_load_test/hdlt_random_html.erl
@@ -49,7 +49,7 @@ stop() ->
".
content(WorkSim, SzSim) ->
- %% Adapt to OTP 18 erlang time API and be back-compatible
+ %% Adapt to OTP 18 erlang time API and be backwards compatible
{A, B, C} = try
{erlang:phash2([node()]),
erlang:monotonic_time(),
diff --git a/lib/inets/src/ftp/ftp.erl b/lib/inets/src/ftp/ftp.erl
index 66dcf0f167..fa10043e49 100644
--- a/lib/inets/src/ftp/ftp.erl
+++ b/lib/inets/src/ftp/ftp.erl
@@ -2177,7 +2177,7 @@ handle_caller(#state{caller = {transfer_data, {Cmd, Bin, RemoteFile}}} =
%% Connect to FTP server at Host (default is TCP port 21)
%% in order to establish a control connection.
setup_ctrl_connection(Host, Port, Timeout, State) ->
- %% Adapt to OTP 18 erlang time API and be back-compatible
+ %% Adapt to OTP 18 erlang time API and be backwards compatible
MsTime = try
erlang:monotonic_time()
catch
diff --git a/lib/inets/src/tftp/tftp_logger.erl b/lib/inets/src/tftp/tftp_logger.erl
index 2066445ef7..104d6a91c6 100644
--- a/lib/inets/src/tftp/tftp_logger.erl
+++ b/lib/inets/src/tftp/tftp_logger.erl
@@ -85,7 +85,7 @@ info_msg(Format, Data) ->
%%-------------------------------------------------------------------
add_timestamp(Format, Data) ->
- %% Adapt to new OTP 18 erlang time API and be back-compatible
+ %% Adapt to new OTP 18 erlang time API and be backwards compatible
Now = try
erlang:timestamp()
catch
diff --git a/lib/inets/src/tftp/tftp_sup.erl b/lib/inets/src/tftp/tftp_sup.erl
index 9327cc93b6..3065279515 100644
--- a/lib/inets/src/tftp/tftp_sup.erl
+++ b/lib/inets/src/tftp/tftp_sup.erl
@@ -98,7 +98,7 @@ unique_name(Options) ->
end.
unique_integer() ->
- %% Adapt to OTP 18 erlang time API and be back-compatible
+ %% Adapt to OTP 18 erlang time API and be backwards compatible
try
erlang:unique_integer([positive])
catch
diff --git a/lib/inets/test/ftp_suite_lib.erl b/lib/inets/test/ftp_suite_lib.erl
index 42e2190758..5ae9eb736e 100644
--- a/lib/inets/test/ftp_suite_lib.erl
+++ b/lib/inets/test/ftp_suite_lib.erl
@@ -1353,7 +1353,7 @@ do_delete(Pid, Config) ->
ok.
do_mkdir(Pid) ->
- %% Adapt to OTP 18 erlang time API and be back-compatible
+ %% Adapt to OTP 18 erlang time API and be backwards compatible
NewDir = try
"earl_" ++ integer_to_list(erlang:unique_integer([positive]))
catch
diff --git a/lib/inets/test/httpc_SUITE.erl b/lib/inets/test/httpc_SUITE.erl
index 6569027553..348c75f787 100644
--- a/lib/inets/test/httpc_SUITE.erl
+++ b/lib/inets/test/httpc_SUITE.erl
@@ -1877,7 +1877,7 @@ run_clients(NumClients, ServerPort, SeqNumServer) ->
wait4clients([], _Timeout) ->
ok;
wait4clients(Clients, Timeout) when Timeout > 0 ->
- %% Adapt to OTP 18 erlang time API and be back-compatible
+ %% Adapt to OTP 18 erlang time API and be backwards compatible
Time = try
erlang:monotonic_time()
catch
@@ -1994,7 +1994,7 @@ millisec_passed(T0) ->
1000000) div 1000.
set_random_seed() ->
- %% Adapt to OTP 18 erlang time API and be back-compatible
+ %% Adapt to OTP 18 erlang time API and be backwards compatible
Unique = try
erlang:unique_integer()
catch
diff --git a/lib/inets/test/httpd_time_test.erl b/lib/inets/test/httpd_time_test.erl
index 43bafe5714..b2a2075520 100644
--- a/lib/inets/test/httpd_time_test.erl
+++ b/lib/inets/test/httpd_time_test.erl
@@ -482,7 +482,7 @@ to(To, Start) ->
%% Time in milli seconds
t() ->
- %% Adapt to OTP 18 erlang time API and be back-compatible
+ %% Adapt to OTP 18 erlang time API and be backwards compatible
try
erlang:monotonic_time(1000)
catch