mirror of
https://github.com/shadow-maint/shadow.git
synced 2026-01-26 14:03:17 +00:00
lib/logind.c: active_sessions_count(): Fix build error 'parameter name omitted'
Add the omitted parameter name. Closes: <https://github.com/shadow-maint/shadow/issues/918> Link: <https://github.com/shadow-maint/shadow/pull/919> Signed-off-by: Pablo Saavedra <psaavedra@igalia.com> Cherry-picked-from: da84d0ede79a ("Fix Build error 'parameter name omitted' in logind") Cc: Michael Vetter <jubalh@iodoru.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
parent
7540b05197
commit
f630203ed8
@ -35,7 +35,7 @@ done:
|
||||
return ret;
|
||||
}
|
||||
|
||||
unsigned long active_sessions_count(const char *name, unsigned long unused)
|
||||
unsigned long active_sessions_count(const char *name, unsigned long unused(limit))
|
||||
{
|
||||
struct passwd *pw;
|
||||
unsigned long count = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user