summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/socket.c2
-rw-r--r--src/unit.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c
index 34068b9192..da85ca7e8b 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -385,7 +385,7 @@ static void socket_dump(Unit *u, FILE *f, const char *prefix) {
prefix, s->directory_mode,
prefix, yes_no(s->keep_alive),
prefix, yes_no(s->free_bind),
- prefix, s->tcp_congestion);
+ prefix, strna(s->tcp_congestion));
if (s->control_pid > 0)
fprintf(f,
diff --git a/src/unit.c b/src/unit.c
index d28a0a8cf7..ca15c257e8 100644
--- a/src/unit.c
+++ b/src/unit.c
@@ -440,6 +440,7 @@ static void merge_dependencies(Unit *u, Unit *other, UnitDependency d) {
assert(other);
assert(d < _UNIT_DEPENDENCY_MAX);
+ /* Fix backwards pointers */
SET_FOREACH(back, other->meta.dependencies[d], i) {
UnitDependency k;