File 0802-Fix-documentation-in-mnesia.erl.patch of Package erlang

From 91596b5bdf632f3c18be790b336eb1b0171cf042 Mon Sep 17 00:00:00 2001
From: Christophe De Troyer <christophe.detroyer@gmail.com>
Date: Tue, 26 Nov 2024 14:13:17 +0100
Subject: [PATCH] Fix documentation in mnesia.erl

There was a wrongly named parameter in the documentation for the create_table function.
---
 lib/mnesia/src/mnesia.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/mnesia/doc/src/mnesia.xml b/lib/mnesia/doc/src/mnesia.xml
index 0788e57a94..1f5b06c7d2 100644
--- a/lib/mnesia/doc/src/mnesia.xm
+++ b/lib/mnesia/doc/src/mnesia.xml
@@ -704,7 +704,7 @@ mnesia:change_table_copy_type(person, no
       <desc>
       <marker id="create_table"></marker>
         <p>Creates a Mnesia table called
-          <c>Name</c> according to argument <c>TabDef</c>. This
+          <c>Name</c> according to argument <c>Opts</c>. This
           list must be a list of <c>{Item, Value}</c> tuples,
           where the following values are allowed:</p>
         <list type="bulleted">
-- 
2.43.0

openSUSE Build Service is sponsored by