summaryrefslogtreecommitdiff
path: root/src/locale/localectl.c
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2016-03-24 10:37:19 +0100
committerDaniel Mack <github@zonque.org>2016-03-24 10:37:19 +0100
commitd8fd85e94f3c2c850f53175d2c277ffb671a7b2b (patch)
tree65704acd5afb2fac9d36bbd2868d87cc90001a31 /src/locale/localectl.c
parent1eb963a32ddd2147057178cc230d919b66a90db7 (diff)
parentc86b2d8f7334c97224391b6e384fa52622e0d800 (diff)
Merge pull request #2892 from yuwata/localectl
localectl: remove an unnecessary line break from and align the output of status command
Diffstat (limited to 'src/locale/localectl.c')
-rw-r--r--src/locale/localectl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/locale/localectl.c b/src/locale/localectl.c
index cde33bdf41..4865335349 100644
--- a/src/locale/localectl.c
+++ b/src/locale/localectl.c
@@ -116,11 +116,11 @@ static void print_overridden_variables(void) {
if (variables[j]) {
if (print_warning) {
log_warning("Warning: Settings on kernel command line override system locale settings in /etc/locale.conf.\n"
- " Command Line: %s=%s", locale_variable_to_string(j), variables[j]);
+ " Command Line: %s=%s", locale_variable_to_string(j), variables[j]);
print_warning = false;
} else
- log_warning(" %s=%s", locale_variable_to_string(j), variables[j]);
+ log_warning(" %s=%s", locale_variable_to_string(j), variables[j]);
}
finish:
for (j = 0; j < _VARIABLE_LC_MAX; j++)
@@ -131,7 +131,7 @@ static void print_status_info(StatusInfo *i) {
assert(i);
if (strv_isempty(i->locale))
- puts(" System Locale: n/a\n");
+ puts(" System Locale: n/a");
else {
char **j;