diff options
author | Robert Morris <rtm@csail.mit.edu> | 2020-08-28 05:44:09 -0400 |
---|---|---|
committer | Robert Morris <rtm@csail.mit.edu> | 2020-08-28 05:44:09 -0400 |
commit | db067d24da0b6472afe9ce4165e0868772b11964 (patch) | |
tree | ee9d5d2664b572979758d8569aea2ff89fcf8193 /kernel/printf.c | |
parent | 2ec9c6ed66629fd5b833f06af2080eab46c0af35 (diff) | |
download | xv6-labs-db067d24da0b6472afe9ce4165e0868772b11964.tar.gz xv6-labs-db067d24da0b6472afe9ce4165e0868772b11964.tar.bz2 xv6-labs-db067d24da0b6472afe9ce4165e0868772b11964.zip |
suppress write() output after panic()
Diffstat (limited to 'kernel/printf.c')
-rw-r--r-- | kernel/printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/printf.c b/kernel/printf.c index 777cc5f..1a83284 100644 --- a/kernel/printf.c +++ b/kernel/printf.c @@ -121,7 +121,7 @@ panic(char *s) printf("panic: "); printf(s); printf("\n"); - panicked = 1; // freeze other CPUs + panicked = 1; // freeze output from other CPUs for(;;) ; } |