summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--auth-pam.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d4a9d1c72..ad64019eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 */