From: Lennart Poettering Date: Mon, 8 Oct 2018 18:59:11 +0000 (+0200) Subject: mount-util: show mount source in failure log message (#10312) X-Git-Tag: v240~612 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ccf61268fc500ec0fbc28c432f279c4b4aa8642;p=thirdparty%2Fsystemd.git mount-util: show mount source in failure log message (#10312) --- diff --git a/src/basic/mount-util.c b/src/basic/mount-util.c index ddf00addff3..38edef9823c 100644 --- a/src/basic/mount-util.c +++ b/src/basic/mount-util.c @@ -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; }