From: bernie Date: Tue, 24 Aug 2004 16:07:01 +0000 (+0000) Subject: Use kputs()/kputchar() when possible. X-Git-Tag: 1.0.0~1085 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=f5a8e8e43a38ed5f5cd2a47178fe2b7217fa1b11;p=bertos.git Use kputs()/kputchar() when possible. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@156 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/kern/proc.c b/kern/proc.c index 74ba6151..72995182 100755 --- a/kern/proc.c +++ b/kern/proc.c @@ -17,6 +17,9 @@ /* * $Log$ + * Revision 1.10 2004/08/24 16:07:01 bernie + * Use kputs()/kputchar() when possible. + * * Revision 1.9 2004/08/24 14:26:57 bernie * monitor_debug_stacks(): Conditionally compile on CONFIG_KERN_MONITOR. * @@ -158,14 +161,14 @@ void monitor_debug_stacks(void) if (ISLISTEMPTY(&MonitorProcs)) { - kprintf("No stacks registered in the monitor\n"); + kputs("No stacks registered in the monitor\n"); return; } kprintf("%-24s %-6s%-8s%-8s%-8s\n", "Process name", "TCB", "SPbase", "SPsize", "SPfree"); for (i=0;i<56;i++) - kprintf("-"); - kprintf("\n"); + kputchar('-'); + kputchar('\n'); for (p = MONITOR_NODE_TO_PROCESS(MonitorProcs.head); p->monitor.link.succ;