The project openSUSE:Backports:SLE-16.0 is configured through scmsync. This is not supported by the OBS frontend

File 0469-Fix-typo-of-min-max-for-Q-option.patch of Package erlang

From d68ba495134dfdb5d52d609e3f8fc97257ea6466 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A9ter=20G=C3=B6m=C3=B6ri?= <gomoripeti@gmail.com>
Date: Thu, 1 Sep 2022 14:53:00 +0200
Subject: [PATCH] Fix typo of min/max for +Q option

---
 erts/emulator/beam/erl_init.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/erts/emulator/beam/erl_init.c b/erts/emulator/beam/erl_init.c
index b2c7db1db1..95e41226fc 100644
--- a/erts/emulator/beam/erl_init.c
+++ b/erts/emulator/beam/erl_init.c
@@ -1814,8 +1814,8 @@ erl_start(int argc, char **argv)
 		errno = 0;
 		port_tab_sz = strtol(arg, NULL, 10);
 		if (errno != 0
-		    || port_tab_sz < ERTS_MIN_PROCESSES
-		    || ERTS_MAX_PROCESSES < port_tab_sz) {
+		    || port_tab_sz < ERTS_MIN_PORTS
+		    || ERTS_MAX_PORTS < port_tab_sz) {
 		    erts_fprintf(stderr, "bad number of ports %s\n", arg);
 		    erts_usage();
 		}
-- 
2.35.3

openSUSE Build Service is sponsored by