Module Name: src
Committed By: pgoyette
Date: Mon Oct 2 05:14:29 UTC 2017
Modified Files:
src/tests/include/sys: t_list.c
Log Message:
Update recently-added test to adapt to new signature of LIST_MOVE()
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/include/sys/t_list.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/include/sys/t_list.c
diff -u src/tests/include/sys/t_list.c:1.1 src/tests/include/sys/t_list.c:1.2
--- src/tests/include/sys/t_list.c:1.1 Mon Oct 2 04:15:56 2017
+++ src/tests/include/sys/t_list.c Mon Oct 2 05:14:29 2017
@@ -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));