From 3ccf61268fc500ec0fbc28c432f279c4b4aa8642 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 8 Oct 2018 20:59:11 +0200 Subject: [PATCH] mount-util: show mount source in failure log message (#10312) --- src/basic/mount-util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }