diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-11-12 15:16:19 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-11-16 17:02:58 +0100 |
commit | 3f692e2ece5fce59b51ec7ec7c77d0ce2d47ee55 (patch) | |
tree | 3e1cc615f0593fef8050904a22933aef760c05ea /src/shared | |
parent | mkdir-label: make mkdir_label() a wrapper around mkdirat_label() (diff) | |
download | systemd-3f692e2ece5fce59b51ec7ec7c77d0ce2d47ee55.tar.xz systemd-3f692e2ece5fce59b51ec7ec7c77d0ce2d47ee55.zip |
tree-wide: don't use mkdir_errno_wrapper() without reason
Simple mkdir() is fine, too, no need to use the wrapper
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/cgroup-setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cgroup-setup.c b/src/shared/cgroup-setup.c index 2221fd07c2..8bda66ca36 100644 --- a/src/shared/cgroup-setup.c +++ b/src/shared/cgroup-setup.c @@ -292,7 +292,7 @@ int cg_create(const char *controller, const char *path) { if (r < 0) return r; - r = mkdir_errno_wrapper(fs, 0755); + r = RET_NERRNO(mkdir(fs, 0755)); if (r == -EEXIST) return 0; if (r < 0) |