diff options
Diffstat (limited to 'src/core/socket.c')
-rw-r--r-- | src/core/socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/socket.c b/src/core/socket.c index 1189f451d2..7ca8edbda8 100644 --- a/src/core/socket.c +++ b/src/core/socket.c @@ -471,6 +471,7 @@ static void socket_dump(Unit *u, FILE *f, const char *prefix) { assert(s); assert(f); + prefix = strempty(prefix); prefix2 = strappenda(prefix, "\t"); fprintf(f, |