]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
scope: use correct enum type
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 28 Apr 2015 17:02:49 +0000 (19:02 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 28 Apr 2015 17:03:11 +0000 (19:03 +0200)
src/core/scope.c

index 1848641d8118f3d5460b90699f81bcc1db8fdd68..cbfa3369ab9491b47e2647572103b0b83dd93efd 100644 (file)
@@ -293,7 +293,7 @@ static int scope_start(Unit *u) {
         r = unit_attach_pids_to_cgroup(u);
         if (r < 0) {
                 log_unit_warning_errno(UNIT(s)->id, r, "%s: Failed to add PIDs to scope's control group: %m", UNIT(s)->id);
-                scope_enter_dead(s, SERVICE_FAILURE_RESOURCES);
+                scope_enter_dead(s, SCOPE_FAILURE_RESOURCES);
                 return r;
         }