From 444b1c1d891a14e9b70ba7043d1425ce41345675 Mon Sep 17 00:00:00 2001 From: batt Date: Sat, 9 Aug 2008 10:04:39 +0000 Subject: [PATCH] Fix warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1584 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 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) -- 2.25.1