summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/stackchk/check.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-08-25 20:15:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-08-25 20:15:56 +0000
commitd4a97df3fd193e25c47135221e19c8631e136619 (patch)
treea9c0d9e47405a21aea34202955ab96941e768833 /cpukit/libmisc/stackchk/check.c
parent2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-d4a97df3fd193e25c47135221e19c8631e136619.tar.bz2
2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 163 * libmisc/stackchk/check.c: Adjust conditional compilation.
Diffstat (limited to '')
-rw-r--r--cpukit/libmisc/stackchk/check.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c
index 3c864a4880..1dfa137589 100644
--- a/cpukit/libmisc/stackchk/check.c
+++ b/cpukit/libmisc/stackchk/check.c
@@ -403,12 +403,11 @@ void Stack_check_Dump_threads_usage(
the_thread = 0;
current = 0;
} else
- #else
+ #endif
{
stack = &the_thread->Start.Initial_stack;
current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
}
- #endif
low = Stack_check_usable_stack_start(stack);
size = Stack_check_usable_stack_size(stack);