]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fstab-generator: extend logging a bit
authorLennart Poettering <lennart@poettering.net>
Sat, 27 Mar 2021 12:47:04 +0000 (13:47 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 20 Apr 2021 16:26:17 +0000 (18:26 +0200)
src/fstab-generator/fstab-generator.c

index 4e4121550d324664d9ea4456c4374fc36ffb6a3c..8f5cd0af3ef2809fa045cbb5775e653b3f5b1ce7 100644 (file)
@@ -721,7 +721,7 @@ static int add_sysroot_mount(void) {
         else
                 opts = arg_root_options;
 
-        log_debug("Found entry what=%s where=/sysroot type=%s", what, strna(arg_root_fstype));
+        log_debug("Found entry what=%s where=/sysroot type=%s opts=%s", what, strna(arg_root_fstype), strempty(opts));
 
         if (is_device_path(what)) {
                 r = generator_write_initrd_root_device_deps(arg_dest, what);