summaryrefslogtreecommitdiffstats
path: root/src/shared/bootspec.c
diff options
context:
space:
mode:
authorLudwig Nussel <ludwig.nussel@suse.de>2024-02-20 14:25:12 +0100
committerLennart Poettering <lennart@poettering.net>2024-02-29 18:07:14 +0100
commit33f23e2230463aabeb2b2dd768d9efb397232e70 (patch)
treeeec14e07bf84785222f74f47916aada26e802a14 /src/shared/bootspec.c
parentMerge pull request #31430 from CodethinkLabs/vmspawn/machinectl_vmspawn_support (diff)
downloadsystemd-33f23e2230463aabeb2b2dd768d9efb397232e70.tar.xz
systemd-33f23e2230463aabeb2b2dd768d9efb397232e70.zip
Revert "options" rename in json bootctl output
Revert the rename from "options" to "finalCmdline" in 122650b4a0 while the bigger https://github.com/systemd/systemd/pull/31339 is still under review.
Diffstat (limited to 'src/shared/bootspec.c')
-rw-r--r--src/shared/bootspec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/bootspec.c b/src/shared/bootspec.c
index ceda70fb87..9a1f5ab127 100644
--- a/src/shared/bootspec.c
+++ b/src/shared/bootspec.c
@@ -1484,7 +1484,7 @@ static int print_cmdline(
}
if (final_cmdline)
- printf(" finalCmdline: %s\n", final_cmdline);
+ printf(" options: %s\n", final_cmdline);
return 0;
}
@@ -1544,7 +1544,7 @@ static int json_cmdline(
v, JSON_BUILD_OBJECT(
JSON_BUILD_PAIR_CONDITION(def_cmdline, "ukiCmdline", JSON_BUILD_STRING(def_cmdline)),
JSON_BUILD_PAIR("addons", JSON_BUILD_VARIANT(addons_array)),
- JSON_BUILD_PAIR_CONDITION(final_cmdline, "finalCmdline", JSON_BUILD_STRING(final_cmdline))));
+ JSON_BUILD_PAIR_CONDITION(final_cmdline, "options", JSON_BUILD_STRING(final_cmdline))));
if (r < 0)
return log_oom();
return 0;