summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-job-type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-job-type.c b/src/test/test-job-type.c
index a60be24090..1066374436 100644
--- a/src/test/test-job-type.c
+++ b/src/test/test-job-type.c
@@ -37,7 +37,7 @@ int main(int argc, char*argv[]) {
/* fake a unit */
static Service s = {
.meta.load_state = UNIT_LOADED,
- .type = UNIT_SERVICE
+ .type = SERVICE_SIMPLE,
};
Unit *u = UNIT(&s);