From f9b625c36e3dea521c02919e90ac2ddcfd19b06a Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sun, 9 Jul 2000 22:42:32 +1000 Subject: - (djm) Fix pam sprintf fix - (djm) Cleanup entropy collection code a little more. Split initialisation from seeding, perform intialisation immediatly at start, be careful with uids. Based on problem report from Jim Watt --- 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 a3067d619..852dbdc21 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.10 2000/07/09 11:21:52 djm Exp $"); +RCSID("$Id: auth-pam.c,v 1.11 2000/07/09 12:42:33 djm Exp $"); #define NEW_AUTHTOK_MSG \ "Warning: You password has expired, please change it now" @@ -279,7 +279,7 @@ char **fetch_pam_environment(void) void print_pam_messages(void) { if (pam_msg != NULL) - fputs(stderr, pam_msg); + fputs(pam_msg, stderr); } /* Append a message to the PAM message buffer */ -- cgit v1.2.3