]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mount-util: show mount source in mount_verbose_full() debug output
authorLennart Poettering <lennart@poettering.net>
Thu, 24 Sep 2020 13:07:52 +0000 (15:07 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 25 Sep 2020 15:55:39 +0000 (17:55 +0200)
src/shared/mount-util.c

index e0a03156398990621e7a9df6d799571a804a2758..83ce749d12782545d43a85dbb3c54c8db3191b5b 100644 (file)
@@ -644,8 +644,8 @@ int mount_verbose_full(
                 log_debug("Moving mount %s → %s (%s \"%s\")...",
                           what, where, strnull(fl), strempty(o));
         else
-                log_debug("Mounting %s on %s (%s \"%s\")...",
-                          strna(type), where, strnull(fl), strempty(o));
+                log_debug("Mounting %s (%s) on %s (%s \"%s\")...",
+                          strna(what), strna(type), where, strnull(fl), strempty(o));
 
         if (follow_symlink)
                 r = mount(what, where, type, f, o) < 0 ? -errno : 0;