]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mount-util: show mount source in failure log message (#10312)
authorLennart Poettering <lennart@poettering.net>
Mon, 8 Oct 2018 18:59:11 +0000 (20:59 +0200)
committerVito Caputo <vcaputo@pengaru.com>
Mon, 8 Oct 2018 18:59:11 +0000 (11:59 -0700)
src/basic/mount-util.c

index ddf00addff3935042b47929e4fc0b5f9e3de4222..38edef9823c0cc6a866ab754bf207b777265d7f3 100644 (file)
@@ -840,8 +840,8 @@ int mount_verbose(
                           strna(type), where, strnull(fl), strempty(o));
         if (mount(what, where, type, f, o) < 0)
                 return log_full_errno(error_log_level, errno,
-                                      "Failed to mount %s on %s (%s \"%s\"): %m",
-                                      strna(type), where, strnull(fl), strempty(o));
+                                      "Failed to mount %s (type %s) on %s (%s \"%s\"): %m",
+                                      strna(what), strna(type), where, strnull(fl), strempty(o));
         return 0;
 }