summaryrefslogtreecommitdiff
path: root/src/hostname
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-09-20 20:12:50 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-09-21 14:48:28 +0200
commit639405b934c7785b2b8eebe26a4e584af6869069 (patch)
tree6a09abf12081d4cb7cf114ecdd04044ae6c9e7ce /src/hostname
parenteb5b6b73103bf707111d19335cda19d3006bfd39 (diff)
downloadsystemd-639405b934c7785b2b8eebe26a4e584af6869069.tar.gz
hostnamectl,localectl: use "(unset)" in empty fields
"n/a" is more ambiguous: not available or not set or maybe we didn't check it. Let's just say directly that the field is not set.
Diffstat (limited to 'src/hostname')
-rw-r--r--src/hostname/hostnamectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostname/hostnamectl.c b/src/hostname/hostnamectl.c
index a96241c42e..abaea404a7 100644
--- a/src/hostname/hostnamectl.c
+++ b/src/hostname/hostnamectl.c
@@ -92,7 +92,7 @@ static int print_status_info(StatusInfo *i) {
table_set_header(table, false);
- r = table_set_empty_string(table, "n/a");
+ r = table_set_empty_string(table, "(unset)");
if (r < 0)
return log_oom();