summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg.c b/mg.c
index 770452fd07..96e4bd21eb 100644
--- a/mg.c
+++ b/mg.c
@@ -532,7 +532,7 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg)
sv_setpvn(sv, sMsg, dwLen);
PerlProc_FreeBuf(sMsg);
#else
- win32_str_os_error(sv, dwErr);
+ win32_str_os_error(aTHX_ sv, dwErr);
#endif
}
else