mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 11:55:44 +03:00
mount-util: show mount source in failure log message (#10312)
This commit is contained in:
parent
4b3c721234
commit
3ccf61268f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user