summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-07-08 10:14:08 +1000
committerDamien Miller <djm@mindrot.org>2000-07-08 10:14:08 +1000
commitce40c70f1730c2044f9115db157e0546ff351992 (patch)
treea8537959f5bfaffa977607f9011ad2227027d607
parent0809a0a58690db191971e7a996f1daa1d9dcef64 (diff)
- (djm) Fix bad fprintf format handling in auth-pam.c. Patch from
Aaron Hopkins <aaron@die.net>
-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 @@
120000708
2 - (djm) Fix bad fprintf format handling in auth-pam.c. Patch from
3 Aaron Hopkins <aaron@die.net>
4
120000702 520000702
2 - (djm) Fix brace mismatch from Corinna Vinschen <vinschen@cygnus.com> 6 - (djm) Fix brace mismatch from Corinna Vinschen <vinschen@cygnus.com>
3 - (djm) Stop shadow expiry checking from preventing logins with NIS. Based 7 - (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 @@
34#include "xmalloc.h" 34#include "xmalloc.h"
35#include "servconf.h" 35#include "servconf.h"
36 36
37RCSID("$Id: auth-pam.c,v 1.8 2000/06/22 11:44:54 djm Exp $"); 37RCSID("$Id: auth-pam.c,v 1.9 2000/07/08 00:14:08 djm Exp $");
38 38
39#define NEW_AUTHTOK_MSG \ 39#define NEW_AUTHTOK_MSG \
40 "Warning: You password has expired, please change it now" 40 "Warning: You password has expired, please change it now"
@@ -277,7 +277,7 @@ char **fetch_pam_environment(void)
277void print_pam_messages(void) 277void print_pam_messages(void)
278{ 278{
279 if (pam_msg != NULL) 279 if (pam_msg != NULL)
280 fprintf(stderr, pam_msg); 280 fputs(stderr, pam_msg);
281} 281}
282 282
283/* Append a message to the PAM message buffer */ 283/* Append a message to the PAM message buffer */