summaryrefslogtreecommitdiff
path: root/src/core/dbus-execute.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-31 04:27:03 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-31 04:27:03 +0200
commitd88a251b125f6e9178b9ca9ea47ab7da3234cb58 (patch)
tree6c982e764f991ed9169bd4fb53a601dcd295795b /src/core/dbus-execute.c
parent256425cc10d74c13602527eb86b4ba0938964565 (diff)
util: introduce a proper nsec_t and make use of it where appropriate
Diffstat (limited to 'src/core/dbus-execute.c')
-rw-r--r--src/core/dbus-execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c
index ef55ef12b..f1a9da0c5 100644
--- a/src/core/dbus-execute.c
+++ b/src/core/dbus-execute.c
@@ -216,7 +216,7 @@ int bus_execute_append_timer_slack_nsec(DBusMessageIter *i, const char *property
assert(property);
assert(c);
- if (c->timer_slack_nsec_set)
+ if (c->timer_slack_nsec != (nsec_t) -1)
u = (uint64_t) c->timer_slack_nsec;
else
u = (uint64_t) prctl(PR_GET_TIMERSLACK);