[rtems commit] sptests/spsysinit01: Fix warning
Sebastian Huber
sebh at rtems.org
Thu Apr 21 05:32:35 UTC 2016
Module: rtems
Branch: master
Commit: bdf6cc2a73aaa4b09eb96b3a406e2525f9ab115f
Changeset: http://git.rtems.org/rtems/commit/?id=bdf6cc2a73aaa4b09eb96b3a406e2525f9ab115f
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Apr 20 14:00:44 2016 +0200
sptests/spsysinit01: Fix warning
---
testsuites/sptests/spsysinit01/init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testsuites/sptests/spsysinit01/init.c b/testsuites/sptests/spsysinit01/init.c
index f89ade6..e12f7f3 100644
--- a/testsuites/sptests/spsysinit01/init.c
+++ b/testsuites/sptests/spsysinit01/init.c
@@ -514,7 +514,7 @@ static size_t user_extensions_pre_posix_cleanup;
FIRST(RTEMS_SYSINIT_POSIX_CLEANUP)
{
user_extensions_pre_posix_cleanup =
- _Chain_Node_count_unprotected(&_User_extensions_List);
+ _Chain_Node_count_unprotected(&_User_extensions_List.Active);
next_step(POSIX_CLEANUP_PRE);
}
@@ -522,7 +522,7 @@ LAST(RTEMS_SYSINIT_POSIX_CLEANUP)
{
assert(
user_extensions_pre_posix_cleanup + 1 ==
- _Chain_Node_count_unprotected(&_User_extensions_List)
+ _Chain_Node_count_unprotected(&_User_extensions_List.Active)
);
next_step(POSIX_CLEANUP_POST);
}
More information about the vc
mailing list