chiark / gitweb /
cgroup: simplify how instantiated units are mapped to cgroups
[elogind.git] / src / test / test-job-type.c
index a60be240906deaf88cd6901161e29bbcd4c8e6a3..10663744362a1511a85e53431feace7abc7864bb 100644 (file)
@@ -37,7 +37,7 @@ int main(int argc, char*argv[]) {
         /* fake a unit */
         static Service s = {
                 .meta.load_state = UNIT_LOADED,
-                .type = UNIT_SERVICE
+                .type = SERVICE_SIMPLE,
         };
         Unit *u = UNIT(&s);