tree-wide: don't use mkdir_errno_wrapper() without reason

Simple mkdir() is fine, too, no need to use the wrapper
This commit is contained in:
Lennart Poettering
2021-11-12 15:16:19 +01:00
parent 3bb5ecaa88
commit 3f692e2ece
3 changed files with 5 additions and 5 deletions

View File

@@ -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)