File 3323-Fix-typo-in-erl_nif.xml.patch of Package erlang

From 5047860d01cc8d28b7bcc3659ce69a83644d31b6 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson <sverker@erlang.org>
Date: Tue, 23 May 2023 19:21:58 +0200
Subject: [PATCH] Fix typo in erl_nif.xml

---
 erts/doc/src/erl_nif.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/erts/doc/src/erl_nif.xml b/erts/doc/src/erl_nif.xml
index befe198630..4d31879c6a 100644
--- a/erts/doc/src/erl_nif.xml
+++ b/erts/doc/src/erl_nif.xml
@@ -1358,7 +1358,7 @@ typedef struct {
     <func>
       <name since="OTP 24.0"><ret>int</ret>
         <nametext>enif_dynamic_resource_call(ErlNifEnv* caller_env,
-	ERL_NIF_MODULE rt_module, ERL_NIF_MODULE rt_name, ERL_NIF_TERM resource,
+	ERL_NIF_TERM rt_module, ERL_NIF_TERM rt_name, ERL_NIF_TERM resource,
 	void* call_data)</nametext>
       </name>
       <fsummary>Call a resource in another module.</fsummary>
-- 
2.35.3

openSUSE Build Service is sponsored by