chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manager: let manager_free() handle NULLs
[elogind.git]
/
src
/
core
/
dbus-execute.c
diff --git
a/src/core/dbus-execute.c
b/src/core/dbus-execute.c
index cb9a077d0e45d67cf3c5eae384092ed436335b04..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);
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);
u = (uint64_t) c->timer_slack_nsec;
else
u = (uint64_t) prctl(PR_GET_TIMERSLACK);
@@
-848,7
+848,7
@@
int bus_exec_context_set_transient_property(
strv_free(c->environment);
c->environment = e;
strv_free(c->environment);
c->environment = e;
- joined = strv_join
(c->environment, " "
);
+ joined = strv_join
_quoted(c->environment
);
if (!joined)
return -ENOMEM;
if (!joined)
return -ENOMEM;