diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-09-22 14:17:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 14:17:40 +0200 |
commit | add0c9b8bf7edbafe8e50b6174f9b0b667103166 (patch) | |
tree | 9d6f5ff234de21972b1a44509c419aea1de205c2 /src/locale/localectl.c | |
parent | Merge pull request #24620 from poettering/measure-tweaks (diff) | |
parent | shared/format-table: use empty_string instead of hardcoding "-" for invalid v... (diff) | |
download | systemd-add0c9b8bf7edbafe8e50b6174f9b0b667103166.tar.xz systemd-add0c9b8bf7edbafe8e50b6174f9b0b667103166.zip |
Merge pull request #24768 from keszybz/table-not-available-2
Adjust table n/a text in more places
Diffstat (limited to 'src/locale/localectl.c')
-rw-r--r-- | src/locale/localectl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/locale/localectl.c b/src/locale/localectl.c index ebbf107432..c23f1fa3f6 100644 --- a/src/locale/localectl.c +++ b/src/locale/localectl.c @@ -81,9 +81,7 @@ static int print_status_info(StatusInfo *i) { table_set_header(table, false); - r = table_set_empty_string(table, "n/a"); - if (r < 0) - return log_oom(); + table_set_ersatz_string(table, TABLE_ERSATZ_UNSET); if (!strv_isempty(kernel_locale)) { log_warning("Warning: Settings on kernel command line override system locale settings in /etc/locale.conf."); |