summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c
index a84cee16af..0a5c35ec96 100644
--- a/src/service.c
+++ b/src/service.c
@@ -376,7 +376,7 @@ static int sysv_fix_order(Service *s) {
UnitDependency d;
bool special_s, special_t;
- t = (Service*) other;
+ t = SERVICE(other);
if (s == t)
continue;
@@ -1023,7 +1023,7 @@ static int fsck_fix_order(Service *s) {
Service *t;
UnitDependency d;
- t = (Service*) other;
+ t = SERVICE(other);
if (s == t)
continue;