Skip to content
Commit b437f97e authored by Alexey Dokuchaev's avatar Alexey Dokuchaev
Browse files

security/pam-modules: redo previously committed incorrect build "fix"

The xgetname() function expecting `int (*)(char *, size_t)' was written
for gethostname() which matches this (per POSIX), but also used against
getdomainname() which does not (its `namelen' argument is int).  Rather
than forcibly feeding non-matching function, create a thin wrapper with
correct types.

Fixes:	3a86f14a
parent 161c5b71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment