fix obvious printf nits after reading through code

This commit is contained in:
kolya 2008-08-21 23:24:02 +00:00
parent 1808b2f1b3
commit 5c5470a2fa
2 changed files with 2 additions and 2 deletions

View file

@ -294,7 +294,7 @@ panic(char *s)
use_console_lock = 0; use_console_lock = 0;
cprintf("cpu%d: panic: ", cpu()); cprintf("cpu%d: panic: ", cpu());
cprintf(s, 0); cprintf(s, 0);
cprintf("\n", 0); cprintf("\n");
getcallerpcs(&s, pcs); getcallerpcs(&s, pcs);
for(i=0; i<10; i++) for(i=0; i<10; i++)
cprintf(" %p", pcs[i]); cprintf(" %p", pcs[i]);

2
main.c
View file

@ -52,7 +52,7 @@ mpmain(void)
setupsegs(0); setupsegs(0);
xchg(&cpus[cpu()].booted, 1); xchg(&cpus[cpu()].booted, 1);
cprintf("cpu%d: scheduling\n"); cprintf("cpu%d: scheduling\n", cpu());
scheduler(); scheduler();
} }