summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-04-28 19:02:49 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-04-28 19:03:11 +0200
commit68a01fb658c926b527bd58da94467903feb5d1d0 (patch)
tree0399686fcaa5665525c650eb1034235875cbf06a
parentd215c2384aede7b2359d3cce2139d3b3fb4e1a4e (diff)
scope: use correct enum type
-rw-r--r--src/core/scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/scope.c b/src/core/scope.c
index 1848641d81..cbfa3369ab 100644
--- a/src/core/scope.c
+++ b/src/core/scope.c
@@ -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;
}