A new user interface for you! Read more...

File 0354-fix-return-type-of-mnesia-change_config.patch of Package erlang

From 4152200018c836bd38a8f4c283042637af2696b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ferenc=20B=C3=B6r=C3=B6czki?=
 <f3c0@users.noreply.github.com>
Date: Wed, 18 Jul 2018 14:33:11 +0200
Subject: [PATCH 1/2] fix return type of mnesia:change_config

---
 lib/mnesia/src/mnesia.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 ->
-- 
2.16.4