From 3f692e2ece5fce59b51ec7ec7c77d0ce2d47ee55 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 12 Nov 2021 15:16:19 +0100 Subject: tree-wide: don't use mkdir_errno_wrapper() without reason Simple mkdir() is fine, too, no need to use the wrapper --- src/shared/cgroup-setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared') 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) -- cgit v1.2.3