diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-05-31 04:27:03 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-05-31 04:27:03 +0200 |
commit | d88a251b125f6e9178b9ca9ea47ab7da3234cb58 (patch) | |
tree | 6c982e764f991ed9169bd4fb53a601dcd295795b /src/core/dbus-execute.c | |
parent | 256425cc10d74c13602527eb86b4ba0938964565 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c index ef55ef12b9..f1a9da0c57 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); |