From: Lennart Poettering Date: Fri, 11 Nov 2022 13:32:51 +0000 (+0100) Subject: localectl,analyze: some minor vertical table rework fixes X-Git-Tag: v253-rc1~519 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f038576943cafab8b5983ea9c2cf0039a040e05a;p=thirdparty%2Fsystemd.git localectl,analyze: some minor vertical table rework fixes Follow-up for #25339 --- diff --git a/src/analyze/analyze-inspect-elf.c b/src/analyze/analyze-inspect-elf.c index da2c64565a6..cb6692e2771 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 9a4e4fb59b5..966f07d0832 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());