diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/module.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Src/module.c b/Src/module.c index 61888f41d..3e96108e9 100644 --- a/Src/module.c +++ b/Src/module.c @@ -424,7 +424,10 @@ do_load_module(char const *name) static void * do_load_module(char const *name) { + int waserr = errflag; + zerr("failed to load module: %s", name, 0); + errflag = waserr; return NULL; } |