diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-11-16 10:09:29 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-11-16 15:08:29 +0100 |
commit | d6c3a32056fbcf1178c45204139176e1e414dee1 (patch) | |
tree | 82fd943a90333a7c2c25007c03e2991e1c2c1d25 /src | |
parent | 7ee587afe388dc99c936159ccadddd77c1746efe (diff) | |
download | systemd-d6c3a32056fbcf1178c45204139176e1e414dee1.tar.gz |
umount: fix log message
The sentence wasn't correct English language, let's fix that. More
importantly: if the mount options are empty we'd display "(null)" here.
Fix that. (And they can be empty IRL, see CI results)
Diffstat (limited to 'src')
-rw-r--r-- | src/shutdown/umount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shutdown/umount.c b/src/shutdown/umount.c index e95d167a6e..f5a2cb20c1 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 in with options '%s'.", m->path, m->remount_options); + log_info("Remounting '%s' read-only with options '%s'.", m->path, strna(m->remount_options)); /* Start the mount operation here in the child */ r = mount(NULL, m->path, NULL, m->remount_flags, m->remount_options); |