aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerenc Böröczki <[email protected]>2018-07-18 14:33:11 +0200
committerFerenc Böröczki <[email protected]>2018-07-18 22:23:13 +0200
commit4152200018c836bd38a8f4c283042637af2696b5 (patch)
tree182de3e4c947fec2f6592eb897d1b8b51313f377
parent6a98a4b05ae77739d27f2a9fb018786906e6918c (diff)
downloadotp-4152200018c836bd38a8f4c283042637af2696b5.tar.gz
otp-4152200018c836bd38a8f4c283042637af2696b5.tar.bz2
otp-4152200018c836bd38a8f4c283042637af2696b5.zip
fix return type of mnesia:change_config
-rw-r--r--lib/mnesia/src/mnesia.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mnesia/src/mnesia.erl b/lib/mnesia/src/mnesia.erl
index e298904e2a..60ca262039 100644
--- a/lib/mnesia/src/mnesia.erl
+++ b/lib/mnesia/src/mnesia.erl
@@ -278,7 +278,7 @@ stop() ->
Other -> Other
end.
--spec change_config(Config::atom(), Value::_) -> ok | {error, term()}.
+-spec change_config(Config::atom(), Value::_) -> {ok, _} | {error, term()}.
change_config(extra_db_nodes, Ns) when is_list(Ns) ->
mnesia_controller:connect_nodes(Ns);
change_config(dc_dump_limit, N) when is_number(N), N > 0 ->