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));
|
strna(type), where, strnull(fl), strempty(o));
|
||||||
if (mount(what, where, type, f, o) < 0)
|
if (mount(what, where, type, f, o) < 0)
|
||||||
return log_full_errno(error_log_level, errno,
|
return log_full_errno(error_log_level, errno,
|
||||||
"Failed to mount %s on %s (%s \"%s\"): %m",
|
"Failed to mount %s (type %s) on %s (%s \"%s\"): %m",
|
||||||
strna(type), where, strnull(fl), strempty(o));
|
strna(what), strna(type), where, strnull(fl), strempty(o));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user