From 022b3bd1d64ec490ddd0e8e3d72c0d1405504c31 Mon Sep 17 00:00:00 2001 From: bernie Date: Wed, 20 Aug 2008 19:31:07 +0000 Subject: [PATCH] monitor_checkStack(): fix pasto introduced in previous change. Spotted by R.Gianassi. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1664 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/kern/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bertos/kern/monitor.c b/bertos/kern/monitor.c index e5ba5b32..0c48ed5c 100644 --- a/bertos/kern/monitor.c +++ b/bertos/kern/monitor.c @@ -98,7 +98,7 @@ size_t monitor_checkStack(cpustack_t *stack_base, size_t stack_size) } cur = beg; - while (beg != end) + while (cur != end) { if (*cur != CONFIG_KERN_STACKFILLCODE) break; -- 2.25.1