From d272ca07524a61000324b2b7f7ad1ce9b2dd1487 Mon Sep 17 00:00:00 2001 From: niamtokik Date: Sat, 8 Mar 2025 10:29:38 +0000 Subject: Fix a typo in documentation ranch:procs/2 examples were not correctly called (missing first argument reference). --- doc/src/manual/ranch.procs.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/src') diff --git a/doc/src/manual/ranch.procs.asciidoc b/doc/src/manual/ranch.procs.asciidoc index 0f29533..61973f9 100644 --- a/doc/src/manual/ranch.procs.asciidoc +++ b/doc/src/manual/ranch.procs.asciidoc @@ -34,13 +34,13 @@ A list of pids is returned. .Get the pids of the acceptor processes [source,erlang] ---- -Pids = ranch:procs(acceptors). +Pids = ranch:procs(example_listener, acceptors). ---- .Get the pids of the connection processes [source,erlang] ---- -Pids = ranch:procs(connections). +Pids = ranch:procs(example_listener, connections). ---- == See also -- cgit v1.2.3