summaryrefslogtreecommitdiffstats
path: root/auth-pam.c
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 /auth-pam.c
parent0809a0a58690db191971e7a996f1daa1d9dcef64 (diff)
- (djm) Fix bad fprintf format handling in auth-pam.c. Patch from
Aaron Hopkins <aaron@die.net>
Diffstat (limited to 'auth-pam.c')
-rw-r--r--auth-pam.c4
1 files changed, 2 insertions, 2 deletions
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 */