diff --git a/src/login/logind.c b/src/login/logind.c index 4c0e8ce6b1c..f8a01d156e9 100644 --- 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);