mirror of
https://github.com/systemd/systemd.git
synced 2024-12-27 07:22:31 +03:00
core/execute: use FOREACH_ARRAY in one more place
This commit is contained in:
parent
3c1f396f69
commit
59026bccd0
@ -5259,8 +5259,8 @@ void exec_context_init(ExecContext *c) {
|
|||||||
.memory_ksm = -1,
|
.memory_ksm = -1,
|
||||||
};
|
};
|
||||||
|
|
||||||
for (ExecDirectoryType t = 0; t < _EXEC_DIRECTORY_TYPE_MAX; t++)
|
FOREACH_ARRAY(d, c->directories, _EXEC_DIRECTORY_TYPE_MAX)
|
||||||
c->directories[t].mode = 0755;
|
d->mode = 0755;
|
||||||
|
|
||||||
numa_policy_reset(&c->numa_policy);
|
numa_policy_reset(&c->numa_policy);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user