chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
journal-remote: fix check if realloc failed
[elogind.git]
/
src
/
core
/
dbus-execute.c
diff --git
a/src/core/dbus-execute.c
b/src/core/dbus-execute.c
index ecbadd765b5bdebb45d38057322881c8502021be..9276da4cdc3e2c627ff46b3a661891ec275c30f1 100644
(file)
--- a/
src/core/dbus-execute.c
+++ b/
src/core/dbus-execute.c
@@
-300,7
+300,7
@@
static int property_get_timer_slack_nsec(
assert(reply);
assert(c);
- if (c->timer_slack_nsec !=
(nsec_t) -1
)
+ if (c->timer_slack_nsec !=
NSEC_INFINITY
)
u = (uint64_t) c->timer_slack_nsec;
else
u = (uint64_t) prctl(PR_GET_TIMERSLACK);