From 5c5470a2fa608204326c6eb06647037532a14655 Mon Sep 17 00:00:00 2001 From: kolya Date: Thu, 21 Aug 2008 23:24:02 +0000 Subject: [PATCH] fix obvious printf nits after reading through code --- console.c | 2 +- main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/console.c b/console.c index 86c3455..5e5f034 100644 --- 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 index 6ec6d19..c93d9bf 100644 --- 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(); }