summaryrefslogtreecommitdiff
path: root/src/core/timer.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-03-18 12:21:27 +0100
committerLennart Poettering <lennart@poettering.net>2019-03-18 16:06:36 +0100
commit97a3f4ee052e1b8a0ff03accfa478e352891a84f (patch)
tree99aa499259866231433c54229e47d580ae7ae7f6 /src/core/timer.c
parent9e30cf74ce42de2d6672ec5150e764c581b855b7 (diff)
downloadsystemd-97a3f4ee052e1b8a0ff03accfa478e352891a84f.tar.gz
core: rename unit_{start_limit|condition|assert}_test() to unit_test_xyz()
Just some renaming, no change in behaviour. Background: I'd like to add more functions unit_test_xyz() that test various things, hence let's streamline the naming a bit.
Diffstat (limited to 'src/core/timer.c')
-rw-r--r--src/core/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/timer.c b/src/core/timer.c
index 0c1ca3ef23..736ffaa437 100644
--- a/src/core/timer.c
+++ b/src/core/timer.c
@@ -607,7 +607,7 @@ static int timer_start(Unit *u) {
return -ENOENT;
}
- r = unit_start_limit_test(u);
+ r = unit_test_start_limit(u);
if (r < 0) {
timer_enter_dead(t, TIMER_FAILURE_START_LIMIT_HIT);
return r;