From: bernie Date: Sun, 10 Aug 2008 13:35:21 +0000 (+0000) Subject: monitor: use %zu to print size_t arguments to pacify gcc X-Git-Tag: 2.0.0~337 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=ac42c452766345ee799db6a2f2cd1c810330b39b;p=bertos.git monitor: use %zu to print size_t arguments to pacify gcc git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1597 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/kern/monitor.c b/bertos/kern/monitor.c index d46c750a..f9eaf3b8 100644 --- a/bertos/kern/monitor.c +++ b/bertos/kern/monitor.c @@ -126,7 +126,7 @@ void monitor_report(void) { Process *p = containerof(node, Process, monitor.link); size_t free = monitor_checkStack(p->stack_base, p->stack_size); - kprintf("%-8p%-8p%-8lu%-8lu %s\n", + kprintf("%-8p%-8p%-8zu%-8zu %s\n", p, p->stack_base, p->stack_size, free, p->monitor.name); } proc_permit();