diff options
author | Anders Svensson <[email protected]> | 2013-03-07 09:34:25 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2013-03-12 17:07:09 +0100 |
commit | 0dde6af789f55458604da0337f265edf1eea764d (patch) | |
tree | b15b661d71e26844dfa339fe6b671e605399d2d7 /lib/common_test | |
parent | a60680bb3a066df123b96cee12660057a989fab3 (diff) | |
download | otp-0dde6af789f55458604da0337f265edf1eea764d.tar.gz otp-0dde6af789f55458604da0337f265edf1eea764d.tar.bz2 otp-0dde6af789f55458604da0337f265edf1eea764d.zip |
Minor edoc fix
edoc inserted a type spec into the signature ("Options :: Opts") when
@spec and code used different variable names.
Diffstat (limited to 'lib/common_test')
-rw-r--r-- | lib/common_test/src/ct_slave.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_slave.erl b/lib/common_test/src/ct_slave.erl index bcb27f66b5..6a14ba31ad 100644 --- a/lib/common_test/src/ct_slave.erl +++ b/lib/common_test/src/ct_slave.erl @@ -176,7 +176,7 @@ start(Host, Node) -> %%% <code>NodeName</code> is the name of current node in this case.</item> %%% </list></p> %%% -start(Host, Node, Options) -> +start(Host, Node, Opts) -> ENode = enodename(Host, Node), case erlang:is_alive() of false-> @@ -184,7 +184,7 @@ start(Host, Node, Options) -> true-> case is_started(ENode) of false-> - OptionsRec = fetch_options(Options), + OptionsRec = fetch_options(Opts), do_start(Host, Node, OptionsRec); {true, not_connected}-> {error, started_not_connected, ENode}; |