summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
Diffstat (limited to 'driver')
-rw-r--r--driver/utils/dynwrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/utils/dynwrapper.c b/driver/utils/dynwrapper.c
index a9250f58ba..84888e1c4d 100644
--- a/driver/utils/dynwrapper.c
+++ b/driver/utils/dynwrapper.c
@@ -188,7 +188,7 @@ int main(int argc, char *argv[]) {
hRtsDll = GetNonNullModuleHandle(rtsDll);
hs_main_p = GetNonNullProcAddress(hRtsDll, "hs_main");
- main_p = GetNonNullProcAddress(hProgDll, "ZCMain_main_closure");
+ main_p = GetNonNullProcAddress(hProgDll, "ZCMain_main_static_closure");
rts_config.rts_opts_enabled = rtsOpts;
rts_config.rts_opts = NULL;