]> git.ipfire.org Git - thirdparty/systemd.git/commit
pam-util: fix pam_syslog_errno() ignoring the level parameter
authorval4oss <val4oss@pm.me>
Wed, 19 Nov 2025 09:18:41 +0000 (10:18 +0100)
committerval4oss <val4oss@pm.me>
Thu, 20 Nov 2025 10:00:48 +0000 (11:00 +0100)
commitbc9dc63f4f24eb989e92d4a96e46da279528a767
tree1b49628b9094321d453682050587a155c68207cc
parent09ee7040c8013daed878f453afc1e48f10cdfdf0
pam-util: fix pam_syslog_errno() ignoring the level parameter

The function accepts a level parameter but was always logging at
LOG_ERR. Fix by passing the level parameter to sym_pam_vsyslog()
instead of hardcoding LOG_ERR.

This caused debug and warning messages to incorrectly appear in error
logs.
src/shared/pam-util.c