aboutsummaryrefslogtreecommitdiffstats
path: root/src/log-login-utmp.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-10-29 20:00:27 +0100
committerMattias Andrée <maandree@operamail.com>2014-10-29 20:00:27 +0100
commit9c040df42e7dbd83ed3fd7034ce26552f4ee737f (patch)
tree5ea673df19be83ec151f58bbdc877d0ec6cde527 /src/log-login-utmp.c
parentadd support for ~/.prelogin (diff)
downloadcerberus-logging-9c040df42e7dbd83ed3fd7034ce26552f4ee737f.tar.gz
cerberus-logging-9c040df42e7dbd83ed3fd7034ce26552f4ee737f.tar.bz2
cerberus-logging-9c040df42e7dbd83ed3fd7034ce26552f4ee737f.tar.xz
m + add log-login-lastlog
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/log-login-utmp.c')
-rw-r--r--src/log-login-utmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log-login-utmp.c b/src/log-login-utmp.c
index 081c63e..1325bed 100644
--- a/src/log-login-utmp.c
+++ b/src/log-login-utmp.c
@@ -29,7 +29,7 @@ int do_log(void)
if (!streq(action, "login"))
return 0;
-
+
pid_ = (pid_t)atoll(pid);
ttyno = first_digit(ttyname);
memset(&ut, 0, sizeof(struct utmp));