summaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
authorpgoyette <pgoyette@NetBSD.org>2017-10-02 05:14:29 +0000
committerpgoyette <pgoyette@NetBSD.org>2017-10-02 05:14:29 +0000
commite88c73fd2b74682b3e07908b910e3366aa1c2a91 (patch)
tree667be86fae7a33873e88929e41340988ca63e1a7 /tests/include
parent904ef45155931c8705142696e75b12fa37969c7c (diff)
Update recently-added test to adapt to new signature of LIST_MOVE()
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/sys/t_list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/include/sys/t_list.c b/tests/include/sys/t_list.c
index 2ad85c17cb9..d46e8e06acd 100644
--- a/tests/include/sys/t_list.c
+++ b/tests/include/sys/t_list.c
@@ -1,4 +1,4 @@
-/* $NetBSD: t_list.c,v 1.1 2017/10/02 04:15:56 pgoyette Exp $ */
+/* $NetBSD: t_list.c,v 1.2 2017/10/02 05:14:29 pgoyette Exp $ */
/*-
* Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@ ATF_TC_BODY(list_move, tc)
n2->value = 2;
LIST_INSERT_HEAD(&old_head, n2, entries);
- LIST_MOVE(&old_head, &new_head);
+ LIST_MOVE(&old_head, &new_head, entries);
memcpy(&old_copy, &old_head, sizeof(old_head));