summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-20 14:00:44 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-21 07:29:37 +0200
commitbdf6cc2a73aaa4b09eb96b3a406e2525f9ab115f (patch)
tree335b1b89d80129c8760c7eda36ffd7055fc49a1d /testsuites/sptests
parentblock[08|09|10]/init.c: Include <stdlib.h> to fix warning on exit() (diff)
downloadrtems-bdf6cc2a73aaa4b09eb96b3a406e2525f9ab115f.tar.bz2
sptests/spsysinit01: Fix warning
Diffstat (limited to 'testsuites/sptests')
-rw-r--r--testsuites/sptests/spsysinit01/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/spsysinit01/init.c b/testsuites/sptests/spsysinit01/init.c
index f89ade6487..e12f7f3bc1 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);
}