summaryrefslogtreecommitdiff
path: root/modules/pam_tally/pam_tally.c
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2001-06-27 06:20:42 +0000
committerAndrew G. Morgan <morgan@kernel.org>2001-06-27 06:20:42 +0000
commitac205ce13df8def522f386a922401ade673cb3a2 (patch)
treea325cd3f2ba77b6936512d6019b056641e2cca50 /modules/pam_tally/pam_tally.c
parent1e8bcb43e3f024f9303dc884ee8b445f4150142c (diff)
Relevant BUGIDs: 436432
Purpose of commit: cleanup Commit summary: --------------- small changes inspired by reading a red hat diff.
Diffstat (limited to 'modules/pam_tally/pam_tally.c')
-rw-r--r--modules/pam_tally/pam_tally.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/pam_tally/pam_tally.c b/modules/pam_tally/pam_tally.c
index 3d994458..b5bbaba3 100644
--- a/modules/pam_tally/pam_tally.c
+++ b/modules/pam_tally/pam_tally.c
@@ -16,6 +16,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#include <stdlib.h>
#include <stdarg.h>
#include <syslog.h>
#include <pwd.h>
@@ -84,6 +85,7 @@ static void _pam_log(int err, const char *format, ...)
#ifdef MAIN
vfprintf(stderr,format,args);
+ fprintf(stderr,"\n");
#else
openlog(MODULE_NAME, LOG_CONS|LOG_PID, LOG_AUTH);
vsyslog(err, format, args);