From b8b014230fc40c67028a707a573f382b917793dd Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Wed, 14 Sep 2005 11:51:19 +0000 Subject: Relevant BUGIDs: none Purpose of commit: bugfix Commit summary: --------------- Link libpam_misc against libpam Fix defines in pam_ext.h Patches from Dmitry V. Levin. --- libpam/include/security/pam_ext.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libpam') diff --git a/libpam/include/security/pam_ext.h b/libpam/include/security/pam_ext.h index 92362352..1d0c1985 100644 --- a/libpam/include/security/pam_ext.h +++ b/libpam/include/security/pam_ext.h @@ -52,13 +52,13 @@ extern int PAM_FORMAT((printf, 4, 5)) PAM_NONNULL((1,4)) pam_prompt (const pam_handle_t *pamh, int style, char **response, const char *fmt, ...); -#define pam_error(pamh, fmt, args...) \ - pam_prompt(pamh, PAM_ERROR_MSG, NULL, fmt, args) +#define pam_error(pamh, fmt...) \ + pam_prompt(pamh, PAM_ERROR_MSG, NULL, fmt) #define pam_verror(pamh, fmt, args) \ pam_vprompt(pamh, PAM_ERROR_MSG, NULL, fmt, args) -#define pam_info(pamh, fmt, args...) pam_prompt(pamh, PAM_TEXT_INFO, NULL, fmt, args) -#define pam_vinfo(pamh, fmt, ...) pam_vprompt(pamh, PAM_TEXT_INFO, NULL, fmt, args) +#define pam_info(pamh, fmt...) pam_prompt(pamh, PAM_TEXT_INFO, NULL, fmt) +#define pam_vinfo(pamh, fmt, args) pam_vprompt(pamh, PAM_TEXT_INFO, NULL, fmt, args) #endif -- cgit v1.2.3