chiark / gitweb /
cgroup: simplify how instantiated units are mapped to cgroups
[elogind.git] / src / test / test-job-type.c
index a60be24..1066374 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);