fix obvious printf nits after reading through code
This commit is contained in:
parent
1808b2f1b3
commit
5c5470a2fa
2 changed files with 2 additions and 2 deletions
|
@ -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
2
main.c
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue