File 1155-Update-mnesia.erl.patch of Package erlang

From ef5b96b34522ffa38db42605bce38e02c41676ea Mon Sep 17 00:00:00 2001
From: dong50252409 <304887750@qq.com>
Date: Thu, 4 Mar 2021 16:04:21 +0800
Subject: [PATCH] Update mnesia.erl

Fix create_option() spec description error
---
 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 2efe739442..a9190cb6b5 100644
--- a/lib/mnesia/src/mnesia.erl
+++ b/lib/mnesia/src/mnesia.erl
@@ -142,7 +142,7 @@
         {'access_mode', 'read_write' | 'read_only'} |
         {'attributes', [atom()]} |
         {'disc_copies', [node()]} |
-        {'disc_only_copies', [node]} |
+        {'disc_only_copies', [node()]} |
         {'index', [index_attr()]} |
         {'load_order', non_neg_integer()} |
         {'majority', boolean()} |
-- 
2.26.2

openSUSE Build Service is sponsored by