summaryrefslogtreecommitdiff
path: root/console.c
diff options
context:
space:
mode:
authorkolya <kolya>2008-08-21 23:24:02 +0000
committerkolya <kolya>2008-08-21 23:24:02 +0000
commit5c5470a2fa608204326c6eb06647037532a14655 (patch)
tree4bcf243feaf18a68fe19b169b746ee112ac8499b /console.c
parent1808b2f1b3ba3eefe777ffcc87073ae45a788ad5 (diff)
downloadxv6-labs-5c5470a2fa608204326c6eb06647037532a14655.tar.gz
xv6-labs-5c5470a2fa608204326c6eb06647037532a14655.tar.bz2
xv6-labs-5c5470a2fa608204326c6eb06647037532a14655.zip
fix obvious printf nits after reading through code
Diffstat (limited to 'console.c')
-rw-r--r--console.c2
1 files changed, 1 insertions, 1 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]);