diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | auth-pam.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +20000708 + - (djm) Fix bad fprintf format handling in auth-pam.c. Patch from + Aaron Hopkins <aaron@die.net> + 20000702 - (djm) Fix brace mismatch from Corinna Vinschen <vinschen@cygnus.com> - (djm) Stop shadow expiry checking from preventing logins with NIS. Based diff --git a/auth-pam.c b/auth-pam.c index da8c50d8d..27e59ef98 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 */ |