From f038576943cafab8b5983ea9c2cf0039a040e05a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 11 Nov 2022 14:32:51 +0100 Subject: [PATCH] localectl,analyze: some minor vertical table rework fixes Follow-up for #25339 --- src/analyze/analyze-inspect-elf.c | 4 ---- src/locale/localectl.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/analyze/analyze-inspect-elf.c b/src/analyze/analyze-inspect-elf.c index da2c64565a..cb6692e277 100644 --- a/src/analyze/analyze-inspect-elf.c +++ b/src/analyze/analyze-inspect-elf.c @@ -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", diff --git a/src/locale/localectl.c b/src/locale/localectl.c index 9a4e4fb59b..966f07d083 100644 --- a/src/locale/localectl.c +++ b/src/locale/localectl.c @@ -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()); -- 2.25.1