core: use correct enum

from e903182e5b
This commit is contained in:
Thomas Hindoe Paaboel Andersen
2016-02-11 19:04:54 +01:00
parent 95adafc428
commit 9e4942ed5a
+1 -1
View File
@@ -476,7 +476,7 @@ static void path_enter_running(Path *p) {
trigger = UNIT_TRIGGER(UNIT(p));
if (!trigger) {
log_unit_error(UNIT(p), "Unit to trigger vanished.");
path_enter_dead(p, TIMER_FAILURE_RESOURCES);
path_enter_dead(p, PATH_FAILURE_RESOURCES);
return;
}