diff options
Diffstat (limited to 'rts/posix/OSThreads.c')
-rw-r--r-- | rts/posix/OSThreads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/posix/OSThreads.c b/rts/posix/OSThreads.c index cc3baeb1bb..e25cdc1e81 100644 --- a/rts/posix/OSThreads.c +++ b/rts/posix/OSThreads.c @@ -197,7 +197,7 @@ forkOS_createThreadWrapper ( void * entry ) { Capability *cap; cap = rts_lock(); - cap = rts_evalStableIO(cap, (HsStablePtr) entry, NULL); + rts_evalStableIO(&cap, (HsStablePtr) entry, NULL); taskTimeStamp(myTask()); rts_unlock(cap); return NULL; |