summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/ui.c b/source4/torture/ui.c
index 7ebaf2b7e9..50bb2482d7 100644
--- a/source4/torture/ui.c
+++ b/source4/torture/ui.c
@@ -93,7 +93,7 @@ struct torture_test *torture_tcase_add_test(struct torture_tcase *tcase,
test->dangerous = False;
test->data = data;
- DLIST_ADD(tcase->tests, test);
+ DLIST_ADD_END(tcase->tests, test, struct torture_test *);
return test;
}