diff --git a/lib/libpam/libpam/security/pam_mod_misc.h b/lib/libpam/libpam/security/pam_mod_misc.h index ffc6f92c4052..c9fc8d770187 100644 --- a/lib/libpam/libpam/security/pam_mod_misc.h +++ b/lib/libpam/libpam/security/pam_mod_misc.h @@ -51,6 +51,6 @@ __END_DECLS return (arg) #define PAM_VERBOSE_ERROR(...) \ - _pam_verbose_error(pamh, flags, __FILE__, __FUNCTION__, __VA_ARGS__) + _pam_verbose_error(pamh, flags, __FILE__, __func__, __VA_ARGS__) #endif