summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libmisc')
-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);