1
0
mirror of https://github.com/systemd/systemd.git synced 2025-08-25 13:49:55 +03:00

scope: use correct enum type

This commit is contained in:
Thomas Hindoe Paaboel Andersen
2015-04-28 19:02:49 +02:00
parent d215c2384a
commit 68a01fb658
Notes: Lennart Poettering 2015-05-21 19:13:52 +02:00
Backport: bugfix

View 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;
}