File 0220-Fix-printout-of-missing-function.patch of Package erlang

From e0b885405e5ecbb79d6605452f37497bc80e192b Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Thu, 25 Nov 2021 10:36:33 +0100
Subject: [PATCH 01/12] Fix printout of missing function

---
 erts/test/otp_SUITE.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/erts/test/otp_SUITE.erl b/erts/test/otp_SUITE.erl
index 5941d8e851..7ce7f670dd 100644
--- a/erts/test/otp_SUITE.erl
+++ b/erts/test/otp_SUITE.erl
@@ -643,7 +643,7 @@ find_dep_in_rel_dir(Dep, RelDirRoot) ->
                     ErrorMessage =
                         io_lib:format("ERROR: Could not find ~p in ~p (where it is supposed to be)."
                                       "Found ~p~n", [Dep, RelDirRoot, DepPaths]),
-                    io:format(ErrorMessage),
+                    io:format(lists:flatten(ErrorMessage)),
                     ct:fail(ErrorMessage)
 
             end;
-- 
2.31.1

openSUSE Build Service is sponsored by