xv6

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 5c5470a2fa608204326c6eb06647037532a14655
parent 1808b2f1b3ba3eefe777ffcc87073ae45a788ad5
Author: kolya <kolya>
Date:   Thu, 21 Aug 2008 23:24:02 +0000

fix obvious printf nits after reading through code

Diffstat:
Mconsole.c | 2+-
Mmain.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/console.c b/console.c @@ -294,7 +294,7 @@ panic(char *s) use_console_lock = 0; cprintf("cpu%d: panic: ", cpu()); cprintf(s, 0); - cprintf("\n", 0); + cprintf("\n"); getcallerpcs(&s, pcs); for(i=0; i<10; i++) cprintf(" %p", pcs[i]); diff --git a/main.c b/main.c @@ -52,7 +52,7 @@ mpmain(void) setupsegs(0); xchg(&cpus[cpu()].booted, 1); - cprintf("cpu%d: scheduling\n"); + cprintf("cpu%d: scheduling\n", cpu()); scheduler(); }