summaryrefslogtreecommitdiff
path: root/src/shutdown
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-01-11 18:31:38 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-01-12 16:05:59 +0100
commitb85c1905e0c89c15d4d61f015749effd956a2216 (patch)
tree6aec9ae25dd5ea4519bc8e247cf5998e39cd1603 /src/shutdown
parent9bd4181ef53907997d117e9f218c8f6ed7e40648 (diff)
downloadsystemd-b85c1905e0c89c15d4d61f015749effd956a2216.tar.gz
shutdown: adjust log message
Instead of saying "with options 'n/a'", let's just say "with options ''". We really don't have any options.
Diffstat (limited to 'src/shutdown')
-rw-r--r--src/shutdown/umount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shutdown/umount.c b/src/shutdown/umount.c
index f5a2cb20c1..ed45ea9edb 100644
--- a/src/shutdown/umount.c
+++ b/src/shutdown/umount.c
@@ -522,7 +522,7 @@ static int remount_with_timeout(MountPoint *m, int umount_log_level) {
if (r < 0)
return r;
if (r == 0) {
- log_info("Remounting '%s' read-only with options '%s'.", m->path, strna(m->remount_options));
+ log_info("Remounting '%s' read-only with options '%s'.", m->path, strempty(m->remount_options));
/* Start the mount operation here in the child */
r = mount(NULL, m->path, NULL, m->remount_flags, m->remount_options);