summaryrefslogtreecommitdiff
path: root/pam-ck-connector
diff options
context:
space:
mode:
authorWilliam Jon McCann <mccann@jhu.edu>2007-03-15 14:04:05 -0400
committerWilliam Jon McCann <mccann@jhu.edu>2007-03-15 14:04:05 -0400
commitc40a87c622ac1543dc2d9cdccc651e33affadcfa (patch)
tree18aedb180c7456553fa2bb829fc2c120a183d185 /pam-ck-connector
parent4a947eddfad4f384bb02c8e4771a59a7ad01cd8b (diff)
downloadConsoleKit2-c40a87c622ac1543dc2d9cdccc651e33affadcfa.tar.gz
fix missed pam_syslog change
Also make the configure checks simpler.
Diffstat (limited to 'pam-ck-connector')
-rw-r--r--pam-ck-connector/pam-ck-connector.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pam-ck-connector/pam-ck-connector.c b/pam-ck-connector/pam-ck-connector.c
index 407e23b..5164c77 100644
--- a/pam-ck-connector/pam-ck-connector.c
+++ b/pam-ck-connector/pam-ck-connector.c
@@ -53,10 +53,10 @@
#include <security/pam_modules.h>
#include <security/_pam_macros.h>
-#ifdef HAVE_PAM_MODUTIL_H
+#ifdef HAVE_SECURITY_PAM_MODUTIL_H
#include <security/pam_modutil.h>
#endif
-#ifdef HAVE_PAM_EXT_H
+#ifdef HAVE_SECURITY_PAM_EXT_H
#include <security/pam_ext.h>
#endif
@@ -146,7 +146,7 @@ _parse_pam_args (const pam_handle_t *pamh,
if (strcmp (argv[i] , "debug") == 0) {
opt_debug = TRUE;
} else {
- pam_syslog (pamh, LOG_ERR, "unknown option: %s", argv[i]);
+ ck_pam_syslog (pamh, LOG_ERR, "unknown option: %s", argv[i]);
}
}
}