X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Funit.c;fp=src%2Fcore%2Funit.c;h=2f95737da00a8a41d7101580c04b355c1519776b;hp=c3433b2c5d5e6c04d09765d4afe05cbfcc9dfdbf;hb=63c372cb9df3bee01e3bf8cd7f96f336bddda846;hpb=44de0efc6e406515fc1cf8b95d9655d0d7f7ffff diff --git a/src/core/unit.c b/src/core/unit.c index c3433b2c5..2f95737da 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -868,7 +868,7 @@ void unit_dump(Unit *u, FILE *f, const char *prefix) { assert(u->type >= 0); prefix = strempty(prefix); - prefix2 = strappenda(prefix, "\t"); + prefix2 = strjoina(prefix, "\t"); fprintf(f, "%s-> Unit %s:\n"