summaryrefslogtreecommitdiff
path: root/test-engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-engine.c')
-rw-r--r--test-engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-engine.c b/test-engine.c
index 5914f5f193..43a68fcdbd 100644
--- a/test-engine.c
+++ b/test-engine.c
@@ -33,7 +33,7 @@ int main(int argc, char *argv[]) {
assert_se(set_unit_path("test2") >= 0);
- assert_se(m = manager_new());
+ assert_se(manager_new(&m) >= 0);
printf("Load1:\n");
assert_se(manager_load_unit(m, "a.service", &a) == 0);