From: batt Date: Sat, 9 Aug 2008 10:04:39 +0000 (+0000) Subject: Fix warning. X-Git-Tag: 2.0.0~350 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=444b1c1d891a14e9b70ba7043d1425ce41345675;p=bertos.git Fix warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1584 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/kern/monitor.c b/bertos/kern/monitor.c index 9dcc38b0..1263401a 100644 --- a/bertos/kern/monitor.c +++ b/bertos/kern/monitor.c @@ -143,7 +143,7 @@ static void NORETURN monitor(void) proc_forbid(); FOREACH_NODE(node, &MonitorProcs) { - Process *p = containerof(node, Process, monitor.link); + p = containerof(node, Process, monitor.link); size_t free = monitor_checkStack(p->stack_base, p->stack_size); if (free < 0x20)