summaryrefslogtreecommitdiff
path: root/ext/DynaLoader/dlutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/DynaLoader/dlutils.c')
-rw-r--r--ext/DynaLoader/dlutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/DynaLoader/dlutils.c b/ext/DynaLoader/dlutils.c
index 574ccadc34..29d9b91784 100644
--- a/ext/DynaLoader/dlutils.c
+++ b/ext/DynaLoader/dlutils.c
@@ -92,7 +92,7 @@ dl_generic_private_init(pTHX) /* called by dl_*.xs dl_private_init() */
char *perl_dl_nonlazy;
MY_CXT_INIT;
- MY_CXT.x_dl_last_error = newSVpvn("", 0);
+ MY_CXT.x_dl_last_error = newSVpvs("");
dl_nonlazy = 0;
#ifdef DL_LOADONCEONLY
dl_loaded_files = NULL;