From b02d687548283f86fd32a7def920a2558be07faf Mon Sep 17 00:00:00 2001 From: bernie Date: Fri, 22 Aug 2008 18:22:07 +0000 Subject: [PATCH] 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 --- bertos/kern/monitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.25.1