From e4c1566ac6be7d0a53087f2395d23c14d1f9a5f4 Mon Sep 17 00:00:00 2001 From: Sebastien Tricaud Date: Thu, 31 Mar 2005 00:31:57 +0000 Subject: [PATCH] Improved log facilities --- libpam/pam_prelude.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libpam/pam_prelude.c b/libpam/pam_prelude.c index baac9d7b..656376f5 100644 --- a/libpam/pam_prelude.c +++ b/libpam/pam_prelude.c @@ -11,6 +11,7 @@ #ifdef PRELUDE #include +#include #include #include "pam_prelude.h" @@ -262,6 +263,8 @@ prelude_send_alert(pam_handle_t *pamh, int authval) int ret; + prelude_log_set_flags(PRELUDE_LOG_FLAGS_SYSLOG); + ret = pam_alert_prelude_init(pamh, authval); if ( ret < 0 ) _pam_log(LOG_WARNING, -- 2.40.0