mirror of
https://github.com/linux-pam/linux-pam.git
synced 2024-11-24 10:22:47 +08:00
Relevant BUGIDs: none
Purpose of commit: bugfix Commit summary: --------------- Fix compiling pam_prelude.
This commit is contained in:
parent
6a2e5db633
commit
bde00713c8
@ -147,7 +147,7 @@ setup_analyzer(const pam_handle_t *pamh, idmef_analyzer_t *analyzer)
|
||||
|
||||
static void
|
||||
pam_alert_prelude(const char *msg, void *data,
|
||||
const pam_handle_t *pamh, int authval)
|
||||
pam_handle_t *pamh, int authval)
|
||||
{
|
||||
int ret;
|
||||
idmef_time_t *clienttime;
|
||||
@ -406,7 +406,7 @@ pam_alert_prelude_init(const pam_handle_t *pamh, int authval)
|
||||
}
|
||||
|
||||
|
||||
ret = setup_analyzer(prelude_client_get_analyzer(client));
|
||||
ret = setup_analyzer(pamh, prelude_client_get_analyzer(client));
|
||||
if ( ret < 0 ) {
|
||||
pam_syslog(pamh, LOG_WARNING,
|
||||
"%s: Unable to setup analyzer: %s\n",
|
||||
|
Loading…
Reference in New Issue
Block a user