summaryrefslogtreecommitdiff
path: root/src/login/logind-core.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-06-16 01:08:12 +0200
committerLennart Poettering <lennart@poettering.net>2015-06-16 01:08:12 +0200
commit5cb14b3742038b28551b161635a0cba3559404b2 (patch)
treef06001c4d611423c2126af4f26bf1664ed98e3da /src/login/logind-core.c
parent5febf10c1c05344dfb2ea5c2673d64de4568ef3a (diff)
everywhere: actually make use of DUAL_TIMESTAMP_NULL macro
Let's use it as initializer where appropriate.
Diffstat (limited to 'src/login/logind-core.c')
-rw-r--r--src/login/logind-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-core.c b/src/login/logind-core.c
index 440c32aa2c..f9e6ddfb3f 100644
--- a/src/login/logind-core.c
+++ b/src/login/logind-core.c
@@ -360,7 +360,7 @@ int manager_get_user_by_pid(Manager *m, pid_t pid, User **user) {
int manager_get_idle_hint(Manager *m, dual_timestamp *t) {
Session *s;
bool idle_hint;
- dual_timestamp ts = { 0, 0 };
+ dual_timestamp ts = DUAL_TIMESTAMP_NULL;
Iterator i;
assert(m);