core: use correct enum
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Thu, 11 Feb 2016 18:02:54 +0000 (19:02 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Thu, 11 Feb 2016 18:04:54 +0000 (19:04 +0100)
from e903182e5b0daa941de47a9c08c824106cec7fe0

src/core/path.c

index 460c1d3..6ac9b8b 100644 (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;
         }