summaryrefslogtreecommitdiff
path: root/libpam
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2005-09-14 11:51:19 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2005-09-14 11:51:19 +0000
commitb8b014230fc40c67028a707a573f382b917793dd (patch)
tree6262774102c2c919d64eba46d7b80cb27fa4d670 /libpam
parentbb128fc03aa51b97d925f657c85101da75e9ad05 (diff)
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.
Diffstat (limited to 'libpam')
-rw-r--r--libpam/include/security/pam_ext.h8
1 files changed, 4 insertions, 4 deletions
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