summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Zaborsky <qrilka@gmail.com>2021-09-13 16:37:35 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-09-29 09:41:27 -0400
commitcd6030623eabe9de80779ff0ba5081be01a6a3f4 (patch)
treef5077810fb390eccb9c5cb30220f70287addb644
parentbe77a9e07d9f77af48fd9defd92de85560d884c0 (diff)
downloadhaskell-cd6030623eabe9de80779ff0ba5081be01a6a3f4.tar.gz
Fix comment typos
-rw-r--r--rts/CheckUnload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/CheckUnload.c b/rts/CheckUnload.c
index 03cbdb5b2e..f210d629b1 100644
--- a/rts/CheckUnload.c
+++ b/rts/CheckUnload.c
@@ -51,7 +51,7 @@
//
// Note that, crucially, we don't unload an object code even if it's not
// reachable from the heap, unless it's explicitly asked for unloading (via
-// `unloadObj`). This is a feature and not a but! Two use cases:
+// `unloadObj`). This is a feature and not a bug! Two use cases:
//
// - The user might request a symbol from a loaded object at any point with
// lookupSymbol (e.g. GHCi might do this).
@@ -484,7 +484,7 @@ void checkUnload()
// NB (osa): If this assertion doesn't hold then freeObjectCode below
// will corrupt symhash as keys of that table live in ObjectCodes. If
// you see a segfault in a hash table operation in linker (in non-debug
- // RTS) then it's probably becuse this assertion did not hold.
+ // RTS) then it's probably because this assertion did not hold.
ASSERT(oc->symbols == NULL);
freeObjectCode(oc);