]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
localectl,analyze: some minor vertical table rework fixes
authorLennart Poettering <lennart@poettering.net>
Fri, 11 Nov 2022 13:32:51 +0000 (14:32 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 16 Nov 2022 10:39:32 +0000 (11:39 +0100)
Follow-up for #25339

src/analyze/analyze-inspect-elf.c
src/locale/localectl.c

index da2c64565a68b3d782ff5be9bd42acd3b25fa917..cb6692e2771d814c6c1ca315c68f5f0f6303d5e8 100644 (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",
index 9a4e4fb59b5540fcdc05274e15f0d2b5ed5dfca2..966f07d08327a50112493bd1cd8b8655c5396e35 100644 (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());