summaryrefslogtreecommitdiff
path: root/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/socket.c b/socket.c
index 86104aa85a..68a4d812d6 100644
--- a/socket.c
+++ b/socket.c
@@ -140,6 +140,7 @@ static void socket_dump(Unit *u, FILE *f, const char *prefix) {
char *prefix2;
assert(s);
+ assert(f);
prefix2 = strappend(prefix, "\t");
if (!prefix2)