From: Zbigniew Jędrzejewski-Szmek Date: Tue, 11 Jan 2022 17:31:38 +0000 (+0100) Subject: shutdown: adjust log message X-Git-Tag: v251-rc1~543^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b85c1905e0c89c15d4d61f015749effd956a2216;p=thirdparty%2Fsystemd.git shutdown: adjust log message Instead of saying "with options 'n/a'", let's just say "with options ''". We really don't have any options. --- diff --git a/src/shutdown/umount.c b/src/shutdown/umount.c index f5a2cb20c10..ed45ea9edb7 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);