diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2017-01-02 13:17:35 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2017-01-02 13:17:35 +0200 |
commit | 2f62d436b5157aa881d12ec8e7a7f0893c0d96de (patch) | |
tree | 0d67a169cbd9b74c82034833816f36753bfa84d9 /src/module.c | |
parent | be26ab5bb2d721d6edef82226ac453e0431cbe44 (diff) | |
download | wydawca-2f62d436b5157aa881d12ec8e7a7f0893c0d96de.tar.gz wydawca-2f62d436b5157aa881d12ec8e7a7f0893c0d96de.tar.bz2 |
Happy GNU Year
Diffstat (limited to 'src/module.c')
-rw-r--r-- | src/module.c | 4 |
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,4 +1,4 @@ /* wydawca - automatic release submission daemon - Copyright (C) 2007-2013 Sergey Poznyakoff + Copyright (C) 2007-2013, 2017 Sergey Poznyakoff Wydawca is free software; you can redistribute it and/or modify it @@ -112,5 +112,5 @@ 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, lt_dlerror()); |