X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fupdate-utmp.c;h=5a48bd98dd9cf682f829933513d09a00b28fa4d4;hb=1cba2c90e837b8ccff736890e223628275d4183d;hp=43495ccb897590e388f1a65d77788c482d9b819a;hpb=19b68260aa39abceedddbb4f602ba2f90007521c;p=elogind.git diff --git a/src/update-utmp.c b/src/update-utmp.c index 43495ccb8..5a48bd98d 100644 --- a/src/update-utmp.c +++ b/src/update-utmp.c @@ -1,4 +1,4 @@ -/*-*- Mode: C; c-basic-offset: 8 -*-*/ +/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ /*** This file is part of systemd. @@ -368,6 +368,7 @@ int main(int argc, char *argv[]) { log_set_target(LOG_TARGET_SYSLOG_OR_KMSG); log_parse_environment(); + log_open(); #ifdef HAVE_AUDIT if ((c.audit_fd = audit_open()) < 0)