summaryrefslogtreecommitdiffhomepage
path: root/src/arch/nt32/crt_glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/nt32/crt_glue.c')
-rw-r--r--src/arch/nt32/crt_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/nt32/crt_glue.c b/src/arch/nt32/crt_glue.c
index a28273e..eb5cc6a 100644
--- a/src/arch/nt32/crt_glue.c
+++ b/src/arch/nt32/crt_glue.c
@@ -65,7 +65,7 @@ void __libc_entry_routine(
/* ctx init */
ctx.size = sizeof(ctx);
ctx.options = options;
- ctx.refaddr = __main;
+ ctx.usrmain = __main;
ctx.ldsoaddr = _init;
ctx.ctty = __ctty;
ctx.pthread_create_fn = pthread_create;