monitor_checkStack(): fix pasto introduced in previous change. Spotted by R.Gianassi.
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 20 Aug 2008 19:31:07 +0000 (19:31 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 20 Aug 2008 19:31:07 +0000 (19:31 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1664 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/kern/monitor.c

index e5ba5b321641c3795f45e755931aff4f92cbd32f..0c48ed5c9d46a419735497a61a1a5dd255ea4277 100644 (file)
@@ -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;