File 0611-erts-Fix-checkio-debug-printout.patch of Package erlang

From 96365f4e0d5ca3c76cfc994a652ed368435e451f Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Wed, 16 Oct 2019 08:45:09 +0200
Subject: [PATCH 1/2] erts: Fix checkio debug printout

---
 erts/emulator/sys/common/erl_check_io.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/erts/emulator/sys/common/erl_check_io.c b/erts/emulator/sys/common/erl_check_io.c
index fb18c837ab..308d829c09 100644
--- a/erts/emulator/sys/common/erl_check_io.c
+++ b/erts/emulator/sys/common/erl_check_io.c
@@ -1079,7 +1079,7 @@ enif_select_x(ErlNifEnv* env,
 
     DEBUG_PRINT_FD("enif_select(%T, %d, %s, %p, %T, %T)",
                    state, env->proc->common.id, fd, nifmode2str(mode), resource,
-                   pid ? pid->pid : THE_NON_VALUE, ref);
+                   pid ? pid->pid : THE_NON_VALUE, THE_NON_VALUE);
 
     if (mode & ERL_NIF_SELECT_STOP) {
         ASSERT(resource->type->stop);
-- 
2.16.4

openSUSE Build Service is sponsored by