summaryrefslogtreecommitdiffstats
path: root/src/if_mzsch.c
diff options
context:
space:
mode:
authorMartin Tournoij <martin@arp242.net>2021-07-24 13:57:29 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-24 13:57:29 +0200
commit1a3e5747b7df7ddda312bbfd18e04fc2122001fb (patch)
treedf3916d14b86db869aa32ce5a032e4d7dc09f0fa /src/if_mzsch.c
parent5a234eb18e6e43408755bb24e813330306c11629 (diff)
patch 8.2.3208: dynamic library load error does not mention why it failedv8.2.3208
Problem: Dynamic library load error does not mention why it failed. Solution: Add the error message. (Martin Tournoij, closes #8621)
Diffstat (limited to 'src/if_mzsch.c')
-rw-r--r--src/if_mzsch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_mzsch.c b/src/if_mzsch.c
index 0c1c765db5..c8be940bc9 100644
--- a/src/if_mzsch.c
+++ b/src/if_mzsch.c
@@ -668,14 +668,14 @@ mzscheme_runtime_link_init(char *sch_dll, char *gc_dll, int verbose)
if (!hMzGC)
{
if (verbose)
- semsg(_(e_loadlib), gc_dll);
+ semsg(_(e_loadlib), gc_dll, GetWin32Error());
return FAIL;
}
if (!hMzSch)
{
if (verbose)
- semsg(_(e_loadlib), sch_dll);
+ semsg(_(e_loadlib), sch_dll, GetWin32Error());
return FAIL;
}