]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Fix indent prefix being used as a suffix in systemd-analyze dump for some properties
authorMike Kazantsev <mk.fraggod@gmail.com>
Thu, 6 May 2021 14:15:04 +0000 (19:15 +0500)
committerLennart Poettering <lennart@poettering.net>
Thu, 6 May 2021 19:55:35 +0000 (21:55 +0200)
src/core/execute.c

index 482ae4875b12db1bad545d80a9d488b8112c6343..6a1e6c842974b2b8fc7414d7d007c518e002bae5 100644 (file)
@@ -5231,7 +5231,7 @@ static void strv_dump(FILE* f, const char *prefix, const char *name, char **strv
         assert(name);
 
         if (!strv_isempty(strv)) {
-                fprintf(f, "%s%s:", name, prefix);
+                fprintf(f, "%s%s:", prefix, name);
                 strv_fprintf(f, strv);
                 fputs("\n", f);
         }