summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/opkg_active_list_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/opkg_active_list_test.c b/tests/opkg_active_list_test.c
index 88371a2..f7bd390 100644
--- a/tests/opkg_active_list_test.c
+++ b/tests/opkg_active_list_test.c
@@ -110,7 +110,7 @@ int main (void) {
printf ("%s ",test->str);
}
printf("\n");
- for(ptr = active_list_next(&head, &head); ptr ;ptr = active_list_next(&head, ptr)) {
+ for(ptr = active_list_next(&head, NULL); ptr ;ptr = active_list_next(&head, ptr)) {
test = list_entry(ptr, struct active_test, list);
printf ("%s ",test->str);
}