summaryrefslogtreecommitdiff
path: root/rts/Capability.c
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2018-12-12 11:51:20 +0300
committerÖmer Sinan Ağacan <omeragacan@gmail.com>2018-12-12 11:51:20 +0300
commitded4a1db4d61b1bc8b5fd73e8eb87cf572efda35 (patch)
treecb487b738fc66eb34394f85a66d548a04dd33178 /rts/Capability.c
parent65fb69b78f4850b56ee6a2655bc5dc6c441a984e (diff)
downloadhaskell-ded4a1db4d61b1bc8b5fd73e8eb87cf572efda35.tar.gz
Typo fix, replace a foldl with foldl'
Diffstat (limited to 'rts/Capability.c')
-rw-r--r--rts/Capability.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Capability.c b/rts/Capability.c
index 74f7a295e9..bda3b0e681 100644
--- a/rts/Capability.c
+++ b/rts/Capability.c
@@ -484,7 +484,7 @@ giveCapabilityToTask (Capability *cap USED_IF_DEBUG, Task *task)
if (task->wakeup == false) {
task->wakeup = true;
// the wakeup flag is needed because signalCondition() doesn't
- // flag the condition if the thread is already runniing, but we want
+ // flag the condition if the thread is already running, but we want
// it to be sticky.
signalCondition(&task->cond);
}