monitor: Space pointers by one space to make the actuaqlly readable
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 22 Aug 2008 18:22:07 +0000 (18:22 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 22 Aug 2008 18:22:07 +0000 (18:22 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1673 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/kern/monitor.c

index 0c48ed5c9d46a419735497a61a1a5dd255ea4277..c055e2cee7f8896ffda30bb6c017f5fc121b9f5c 100644 (file)
@@ -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();