summaryrefslogtreecommitdiff
path: root/src/login/logind-inhibit.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-inhibit.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-inhibit.c')
-rw-r--r--src/login/logind-inhibit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-inhibit.c b/src/login/logind-inhibit.c
index 68304a1610..855c85402c 100644
--- a/src/login/logind-inhibit.c
+++ b/src/login/logind-inhibit.c
@@ -371,7 +371,7 @@ bool manager_is_inhibited(
Inhibitor *i;
Iterator j;
- struct dual_timestamp ts = { 0, 0 };
+ struct dual_timestamp ts = DUAL_TIMESTAMP_NULL;
bool inhibited = false;
assert(m);