From: bernie Date: Wed, 20 Aug 2008 19:31:07 +0000 (+0000) Subject: monitor_checkStack(): fix pasto introduced in previous change. Spotted by R.Gianassi. X-Git-Tag: 2.0.0~270 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=022b3bd1d64ec490ddd0e8e3d72c0d1405504c31;p=bertos.git 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 --- 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;