summaryrefslogtreecommitdiff
path: root/rts/RtsAPI.c
diff options
context:
space:
mode:
authorBrian Wignall <brianwignall@gmail.com>2021-02-05 09:03:21 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-02-06 09:30:34 -0500
commit3da472f0e78fe5f1068be0cc2b1c0762532da9f9 (patch)
treed88a147c49aa25fff13866de9b87c712213fbd3f /rts/RtsAPI.c
parent9b7dcd80f16efda57e4e51e39d61b55a11c72014 (diff)
downloadhaskell-3da472f0e78fe5f1068be0cc2b1c0762532da9f9.tar.gz
Fix typos
Diffstat (limited to 'rts/RtsAPI.c')
-rw-r--r--rts/RtsAPI.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/RtsAPI.c b/rts/RtsAPI.c
index 3f18a5bc02..d334a05dfb 100644
--- a/rts/RtsAPI.c
+++ b/rts/RtsAPI.c
@@ -720,7 +720,7 @@ PauseToken *rts_pause (void)
Task * task = getMyTask();
if (rts_pausing_task == task)
{
- // This task already pased the RTS.
+ // This task already passed the RTS.
errorBelch("error: rts_pause: This thread has already paused the RTS.");
stg_exit(EXIT_FAILURE);
}
@@ -799,7 +799,7 @@ static void assert_isPausedOnMyTask(const char *functionName)
if (task != rts_pausing_task)
{
// We don't have ownership of rts_pausing_task, so it may have changed
- // just after the above read. Still, we are garanteed that
+ // just after the above read. Still, we are guaranteed that
// rts_pausing_task won't be set to the current task (because the
// current task is here now!), so the error messages are still correct.
errorBelch (