chiark / gitweb /
util: rework strappenda(), and rename it strjoina()
[elogind.git] / src / libsystemd / sd-bus / bus-dump.c
index e27d8027de09ce100be4b563ee1e17f93e7c6bd8..718163964537a46ef3fda1aafaea4d533868766a 100644 (file)
@@ -354,7 +354,7 @@ int bus_creds_dump(sd_bus_creds *c, FILE *f, bool terse) {
                 color = ansi_highlight();
 
                 off = ansi_highlight_off();
-                suffix = strappenda(off, "\n");
+                suffix = strjoina(off, "\n");
         }
 
         if (c->mask & SD_BUS_CREDS_PID)