diff options
author | kolya <kolya> | 2008-08-21 23:24:02 +0000 |
---|---|---|
committer | kolya <kolya> | 2008-08-21 23:24:02 +0000 |
commit | 5c5470a2fa608204326c6eb06647037532a14655 (patch) | |
tree | 4bcf243feaf18a68fe19b169b746ee112ac8499b | |
parent | 1808b2f1b3ba3eefe777ffcc87073ae45a788ad5 (diff) | |
download | xv6-labs-5c5470a2fa608204326c6eb06647037532a14655.tar.gz xv6-labs-5c5470a2fa608204326c6eb06647037532a14655.tar.bz2 xv6-labs-5c5470a2fa608204326c6eb06647037532a14655.zip |
fix obvious printf nits after reading through code
-rw-r--r-- | console.c | 2 | ||||
-rw-r--r-- | main.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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]); @@ -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(); } |