mount-util: show mount source in failure log message (#10312)

This commit is contained in:
Lennart Poettering 2018-10-08 20:59:11 +02:00 committed by Vito Caputo
parent 4b3c721234
commit 3ccf61268f
1 changed files with 2 additions and 2 deletions

View 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;
}