/* Any error other than PAM_AUTH_ERR or PAM_MAXTRIES is probably fatal. */
if (error != PAM_AUTH_ERR && error != PAM_MAXTRIES) {
if ((s = pam_strerror(pamh, error)))
- log_error(NO_EXIT|NO_MAIL, "pam_authenticate: %s\n", s);
+ log_error(NO_EXIT|NO_MAIL, "pam_authenticate: %s", s);
return(AUTH_FATAL);
}
return(AUTH_FAILURE);
NULL, NULL, aixauth_verify, NULL)
#elif defined(HAVE_FWTK)
# define AUTH_STANDALONE \
- AUTH_ENTRY(0, "fwtk", fwtk_init, \
- NULL, fwtk_verify, fwtk_cleanup)
+ AUTH_ENTRY(0, "fwtk", \
+ fwtk_init, NULL, fwtk_verify, fwtk_cleanup)
#elif defined(HAVE_BSD_AUTH_H)
# define AUTH_STANDALONE \
- AUTH_ENTRY(0, "bsdauth", bsdauth_init, \
- NULL, bsdauth_verify, bsdauth_cleanup)
+ AUTH_ENTRY(0, "bsdauth", \
+ bsdauth_init, NULL, bsdauth_verify, bsdauth_cleanup)
#endif
#endif /* SUDO_AUTH_H */