From ce40c70f1730c2044f9115db157e0546ff351992 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sat, 8 Jul 2000 10:14:08 +1000 Subject: - (djm) Fix bad fprintf format handling in auth-pam.c. Patch from Aaron Hopkins --- auth-pam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'auth-pam.c') diff --git a/auth-pam.c b/auth-pam.c index da8c50d8..27e59ef9 100644 --- a/auth-pam.c +++ b/auth-pam.c @@ -34,7 +34,7 @@ #include "xmalloc.h" #include "servconf.h" -RCSID("$Id: auth-pam.c,v 1.8 2000/06/22 11:44:54 djm Exp $"); +RCSID("$Id: auth-pam.c,v 1.9 2000/07/08 00:14:08 djm Exp $"); #define NEW_AUTHTOK_MSG \ "Warning: You password has expired, please change it now" @@ -277,7 +277,7 @@ char **fetch_pam_environment(void) void print_pam_messages(void) { if (pam_msg != NULL) - fprintf(stderr, pam_msg); + fputs(stderr, pam_msg); } /* Append a message to the PAM message buffer */ -- cgit v1.2.3