summaryrefslogtreecommitdiff
path: root/rts/RtsMain.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/RtsMain.c')
-rw-r--r--rts/RtsMain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/RtsMain.c b/rts/RtsMain.c
index 0f6ca82382..2084435f16 100644
--- a/rts/RtsMain.c
+++ b/rts/RtsMain.c
@@ -60,7 +60,7 @@ static void real_main(void)
/* ToDo: want to start with a larger stack size */
{
Capability *cap = rts_lock();
- cap = rts_evalLazyIO(cap,progmain_closure, NULL);
+ rts_evalLazyIO(&cap,progmain_closure, NULL);
status = rts_getSchedStatus(cap);
taskTimeStamp(myTask());
rts_unlock(cap);