File 2237-Update-global-name-typespec.patch of Package erlang
From 10255ef1ff2b0d63c52d68a3c32de94c3c01cc0e Mon Sep 17 00:00:00 2001
From: Daniel Tipping <daniel.tipping@hotmail.co.uk>
Date: Fri, 27 Apr 2018 13:23:15 +0100
Subject: [PATCH] Update global name typespec
---
lib/stdlib/src/gen_event.erl | 6 +++---
lib/stdlib/src/gen_server.erl | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/stdlib/src/gen_event.erl b/lib/stdlib/src/gen_event.erl
index 53042251cc..3ee2031d02 100644
--- a/lib/stdlib/src/gen_event.erl
+++ b/lib/stdlib/src/gen_event.erl
@@ -141,7 +141,7 @@
%% start_link()
%% start_link(MgrName | Options)
%% start_link(MgrName, Options)
-%% MgrName ::= {local, atom()} | {global, atom()} | {via, atom(), term()}
+%% MgrName ::= {local, atom()} | {global, term()} | {via, atom(), term()}
%% Options ::= [{timeout, Timeout} | {debug, [Flag]} | {spawn_opt,SOpts}]
%% Flag ::= trace | log | {logfile, File} | statistics | debug
%% (debug == log && statistics)
--
2.16.3