summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);