[systemd-commits] src/core
Thomas H.P. Andersen
phomes at kemper.freedesktop.org
Tue Apr 28 10:03:20 PDT 2015
src/core/scope.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 68a01fb658c926b527bd58da94467903feb5d1d0
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Apr 28 19:02:49 2015 +0200
scope: use correct enum type
diff --git a/src/core/scope.c b/src/core/scope.c
index 1848641..cbfa336 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;
}
More information about the systemd-commits
mailing list