20 lines
449 B
Plaintext
20 lines
449 B
Plaintext
--- src/options.c
|
|
+++ src/options.c 2007/11/05 15:20:39
|
|
@@ -40,6 +40,7 @@
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
+#include <syslog.h>
|
|
|
|
#ifdef HAVE_SECURITY_PAM_APPL_H
|
|
#include <security/pam_appl.h>
|
|
@@ -327,7 +328,7 @@
|
|
options->debug = 0;
|
|
}
|
|
if (options->debug) {
|
|
- debug("configured realm '%s'", options->realm);
|
|
+ pam_syslog(pamh, LOG_DEBUG, "configured realm '%s'", options->realm);
|
|
}
|
|
|
|
/* private option */
|