chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
systemd: use unit name in PrivateTmp directories
[elogind.git]
/
src
/
core
/
manager.c
diff --git
a/src/core/manager.c
b/src/core/manager.c
index 56191bfc7c340d46ccfac6097f30ccdf550848c9..60c22e31d7caa61807e71d562502aed2931690ad 100644
(file)
--- a/
src/core/manager.c
+++ b/
src/core/manager.c
@@
-676,7
+676,7
@@
static unsigned manager_dispatch_gc_queue(Manager *m) {
unit_gc_sweep(u, gc_marker);
unit_gc_sweep(u, gc_marker);
- LIST_REMOVE(
Unit,
gc_queue, m->gc_queue, u);
+ LIST_REMOVE(gc_queue, m->gc_queue, u);
u->in_gc_queue = false;
n++;
u->in_gc_queue = false;
n++;
@@
-2062,7
+2062,7
@@
void manager_dispatch_bus_query_pid_done(
int manager_open_serialization(Manager *m, FILE **_f) {
char *path = NULL;
int manager_open_serialization(Manager *m, FILE **_f) {
char *path = NULL;
- int fd;
+ int fd
= -1
;
FILE *f;
assert(_f);
FILE *f;
assert(_f);