diff options
Diffstat (limited to 'src/login/logind.c')
-rw-r--r-- | src/login/logind.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login/logind.c b/src/login/logind.c index fd113b3e79..03b77539bd 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -60,6 +60,8 @@ Manager *manager_new(void) { m->idle_action = HANDLE_IGNORE; m->idle_action_not_before_usec = now(CLOCK_MONOTONIC); + m->runtime_dir_size = PAGE_ALIGN((size_t) (physical_memory() / 10)); /* 10% */ + m->devices = hashmap_new(string_hash_func, string_compare_func); m->seats = hashmap_new(string_hash_func, string_compare_func); m->sessions = hashmap_new(string_hash_func, string_compare_func); |