projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3841f57
)
logind: small simplification
author
Lennart Poettering
<lennart@poettering.net>
Sun, 28 Apr 2019 09:06:50 +0000
(11:06 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 24 May 2019 13:05:27 +0000
(15:05 +0200)
src/login/logind.c
patch
|
blob
|
history
diff --git
a/src/login/logind.c
b/src/login/logind.c
index 4c0e8ce6b1c8668837cf0261792278c276547b0d..f8a01d156e9ff07bd2bea527a265e57306edf1a9 100644
(file)
--- a/
src/login/logind.c
+++ b/
src/login/logind.c
@@
-44,10
+44,9
@@
static int manager_new(Manager **ret) {
*m = (Manager) {
.console_active_fd = -1,
.reserve_vt_fd = -1,
+ .idle_action_not_before_usec = now(CLOCK_MONOTONIC),
};
- m->idle_action_not_before_usec = now(CLOCK_MONOTONIC);
-
m->devices = hashmap_new(&string_hash_ops);
m->seats = hashmap_new(&string_hash_ops);
m->sessions = hashmap_new(&string_hash_ops);