]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fstab-generator: log about the fstype in effect
authorMike Yuan <me@yhndnzj.com>
Mon, 16 Jun 2025 23:28:39 +0000 (01:28 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 17 Jun 2025 07:14:47 +0000 (16:14 +0900)
src/fstab-generator/fstab-generator.c

index 3a3af31a49494b969c3d2f9984ffaa51fc4cb303..14a53cd572587e420059d07dbd4e3d6059f3755f 100644 (file)
@@ -1221,7 +1221,7 @@ static int add_sysroot_mount(void) {
                 if (!strextend_with_separator(&combined_options, ",", extra_opts))
                         return log_oom();
 
-        log_debug("Found entry what=%s where=/sysroot type=%s opts=%s", what, strna(arg_root_fstype), strempty(combined_options));
+        log_debug("Found entry what=%s where=/sysroot type=%s opts=%s", what, strna(fstype), strempty(combined_options));
 
         /* Only honor x-systemd.makefs and .validatefs here, others are not relevant in initrd/not used
          * at all (also see mandatory_mount_drop_unapplicable_options()) */