]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/cgroup: correct macro alignment
authorMike Yuan <me@yhndnzj.com>
Wed, 5 Jun 2024 17:22:11 +0000 (19:22 +0200)
committerMike Yuan <me@yhndnzj.com>
Fri, 28 Jun 2024 13:38:41 +0000 (15:38 +0200)
src/core/cgroup.h

index 1581a88cb7620a02ed3a97711012e30e1a5307f7..d258bcb3ae485745c1e4e6c39bfc98d7615336bb 100644 (file)
@@ -496,10 +496,10 @@ void unit_reset_io_accounting_last(Unit *u);
 int unit_reset_io_accounting(Unit *u);
 int unit_reset_accounting(Unit *u);
 
-#define UNIT_CGROUP_BOOL(u, name)                       \
-        ({                                              \
-        CGroupContext *cc = unit_get_cgroup_context(u); \
-        cc ? cc->name : false;                          \
+#define UNIT_CGROUP_BOOL(u, name)                               \
+        ({                                                      \
+                CGroupContext *cc = unit_get_cgroup_context(u); \
+                cc ? cc->name : false;                          \
         })
 
 bool manager_owns_host_root_cgroup(Manager *m);