summaryrefslogtreecommitdiff
path: root/kernel/printf.c
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2020-08-28 05:44:09 -0400
committerFrans Kaashoek <[email protected]>2020-08-28 09:00:41 -0400
commit748809e1b36cd08b21ddfdf79486787cc5c85453 (patch)
treeee9d5d2664b572979758d8569aea2ff89fcf8193 /kernel/printf.c
parentde434fd933a07fba80d16441a5cd70ebebcde518 (diff)
downloadxv6-labs-748809e1b36cd08b21ddfdf79486787cc5c85453.tar.gz
xv6-labs-748809e1b36cd08b21ddfdf79486787cc5c85453.tar.bz2
xv6-labs-748809e1b36cd08b21ddfdf79486787cc5c85453.zip
suppress write() output after panic()
Diffstat (limited to 'kernel/printf.c')
-rw-r--r--kernel/printf.c2
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(;;)
;
}