--- src/options.c +++ src/options.c 2007/11/05 15:20:39 @@ -40,6 +40,7 @@ #include #include #include +#include #ifdef HAVE_SECURITY_PAM_APPL_H #include @@ -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 */