From: bernie Date: Fri, 22 Aug 2008 18:22:07 +0000 (+0000) Subject: monitor: Space pointers by one space to make the actuaqlly readable X-Git-Tag: 2.0.0~261 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=b02d687548283f86fd32a7def920a2558be07faf;p=bertos.git monitor: Space pointers by one space to make the actuaqlly readable git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1673 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/kern/monitor.c b/bertos/kern/monitor.c index 0c48ed5c..c055e2ce 100644 --- a/bertos/kern/monitor.c +++ b/bertos/kern/monitor.c @@ -116,7 +116,7 @@ void monitor_report(void) Node *node; int i; - kprintf("%-8s%-8s%-8s%-8s %s\n", "TCB", "SPbase", "SPsize", "SPfree", "Name"); + kprintf("%-9s%-9s%-9s%-9s%s\n", "TCB", "SPbase", "SPsize", "SPfree", "Name"); for (i = 0; i < 56; i++) kputchar('-'); kputchar('\n'); @@ -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%-8zu%-8zu %s\n", + kprintf("%-9p%-9p%-9zu%-9zu%s\n", p, p->stack_base, p->stack_size, free, p->monitor.name); } proc_permit();