diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-10-08 20:59:11 +0200 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2018-10-08 11:59:11 -0700 |
commit | 3ccf61268fc500ec0fbc28c432f279c4b4aa8642 (patch) | |
tree | 8354f4875bdb3252de83aec905afb936d2e177c3 /src | |
parent | 4b3c7212349f077c333026d324c6f278e6e65693 (diff) | |
download | systemd-3ccf61268fc500ec0fbc28c432f279c4b4aa8642.tar.gz systemd-3ccf61268fc500ec0fbc28c432f279c4b4aa8642.tar.bz2 systemd-3ccf61268fc500ec0fbc28c432f279c4b4aa8642.zip |
mount-util: show mount source in failure log message (#10312)
Diffstat (limited to 'src')
-rw-r--r-- | src/basic/mount-util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/mount-util.c b/src/basic/mount-util.c index ddf00addff..38edef9823 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; } |