mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
nspawn: Fix two misspellings of "hierarchy" in error messages
This commit is contained in:
parent
db6b984ba8
commit
998fdc16aa
@ -73,7 +73,7 @@ int sync_cgroup(pid_t pid, bool unified_requested) {
|
||||
|
||||
unified = cg_unified();
|
||||
if (unified < 0)
|
||||
return log_error_errno(unified, "Failed to determine whether the unified hierachy is used: %m");
|
||||
return log_error_errno(unified, "Failed to determine whether the unified hierarchy is used: %m");
|
||||
|
||||
if ((unified > 0) == unified_requested)
|
||||
return 0;
|
||||
@ -135,7 +135,7 @@ int create_subcgroup(pid_t pid, bool unified_requested) {
|
||||
|
||||
unified = cg_unified();
|
||||
if (unified < 0)
|
||||
return log_error_errno(unified, "Failed to determine whether the unified hierachy is used: %m");
|
||||
return log_error_errno(unified, "Failed to determine whether the unified hierarchy is used: %m");
|
||||
if (unified == 0)
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user