summaryrefslogtreecommitdiffabout
path: root/src/module.c
Side-by-side diff
Diffstat (limited to 'src/module.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/module.c b/src/module.c
index ca1d471..de00534 100644
--- a/src/module.c
+++ b/src/module.c
@@ -1,3 +1,3 @@
/* wydawca - automatic release submission daemon
- Copyright (C) 2007-2013 Sergey Poznyakoff
+ Copyright (C) 2007-2013, 2017 Sergey Poznyakoff
@@ -113,3 +113,3 @@ modload(struct module *mod, lt_dladvise advise)
if (!handle) {
- grecs_error(&mod->locus, 0,
+ grecs_error(mod->locus.beg.file ? &mod->locus : NULL, 0,
_("cannot load module %s: %s"), mod->path,

Return to:

Send suggestions and report system problems to the System administrator.