localectl,analyze: some minor vertical table rework fixes

Follow-up for #25339
This commit is contained in:
Lennart Poettering
2022-11-11 14:32:51 +01:00
committed by Daan De Meyer
parent bb8b8875f4
commit f038576943
2 changed files with 1 additions and 5 deletions

View File

@@ -38,10 +38,6 @@ static int analyze_elf(char **filenames, JsonFormatFlags json_flags) {
if (!t)
return log_oom();
r = table_set_align_percent(t, TABLE_HEADER_CELL(0), 100);
if (r < 0)
return table_log_add_error(r);
r = table_add_many(
t,
TABLE_FIELD, "path",

View File

@@ -84,7 +84,7 @@ static int print_status_info(StatusInfo *i) {
if (!strv_isempty(kernel_locale)) {
log_warning("Warning: Settings on kernel command line override system locale settings in /etc/locale.conf.");
r = table_add_many(table,
TABLE_STRING, "Command Line:",
TABLE_FIELD, "Command Line",
TABLE_SET_COLOR, ansi_highlight_yellow(),
TABLE_STRV, kernel_locale,
TABLE_SET_COLOR, ansi_highlight_yellow());