summaryrefslogtreecommitdiff
path: root/src/login/logind.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-11-07 10:14:59 -0500
committerSven Eden <yamakuzure@gmx.net>2017-07-17 17:58:35 +0200
commit036174b578f4c18fd2fefb9f5d87791ea2e01b5d (patch)
treea8be8c9cdb8fce4649dbd5a5a5685eca6ac86ded /src/login/logind.c
parentee3f331e539dc37e88e558583c8a9a7a2383f5e0 (diff)
Rename formats-util.h to format-util.h
We don't have plural in the name of any other -util files and this inconsistency trips me up every time I try to type this file name from memory. "formats-util" is even hard to pronounce.
Diffstat (limited to 'src/login/logind.c')
-rw-r--r--src/login/logind.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/login/logind.c b/src/login/logind.c
index 2efa78c19..83b06afa3 100644
--- a/src/login/logind.c
+++ b/src/login/logind.c
@@ -36,7 +36,7 @@
#include "def.h"
#include "dirent-util.h"
#include "fd-util.h"
-#include "formats-util.h"
+#include "format-util.h"
#include "logind.h"
#include "selinux-util.h"
#include "signal-util.h"
@@ -1208,15 +1208,12 @@ int main(int argc, char *argv[]) {
log_set_target(LOG_TARGET_AUTO);
log_set_facility(LOG_AUTH);
log_parse_environment();
-
#ifdef ENABLE_DEBUG_ELOGIND
log_set_max_level(LOG_DEBUG);
log_set_target(LOG_TARGET_SYSLOG_OR_KMSG);
#endif // ENABLE_DEBUG_ELOGIND
-
log_open();
-
umask(0022);
if (argc != 1) {