diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-09-07 10:50:27 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-09-07 10:50:27 +0300 |
commit | 2fac938d18976ed2d9c4059d698b6f463078b698 (patch) | |
tree | 39465f2927c0384cbb985ea223443e58c625b2c0 /ext.c | |
parent | 3ef0dc78fb7d7113bcb360b721952c61236d678c (diff) | |
parent | 48c8fc07cc35539aa171116d0b77a6a47336b6fe (diff) | |
download | egawk-2fac938d18976ed2d9c4059d698b6f463078b698.tar.gz egawk-2fac938d18976ed2d9c4059d698b6f463078b698.tar.bz2 egawk-2fac938d18976ed2d9c4059d698b6f463078b698.zip |
Merge branch 'gawk-4.2-stable'
Diffstat (limited to 'ext.c')
-rw-r--r-- | ext.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -57,23 +57,23 @@ load_ext(const char *lib_name) fatal(_("load_ext: received NULL lib_name")); if ((dl = dlopen(lib_name, flags)) == NULL) - fatal(_("load_ext: cannot open library `%s' (%s)\n"), lib_name, + fatal(_("load_ext: cannot open library `%s' (%s)"), lib_name, dlerror()); /* Per the GNU Coding standards */ gpl_compat = (int *) dlsym(dl, "plugin_is_GPL_compatible"); if (gpl_compat == NULL) - fatal(_("load_ext: library `%s': does not define `plugin_is_GPL_compatible' (%s)\n"), + fatal(_("load_ext: library `%s': does not define `plugin_is_GPL_compatible' (%s)"), lib_name, dlerror()); install_func = (int (*)(const gawk_api_t *const, awk_ext_id_t)) dlsym(dl, INIT_FUNC); if (install_func == NULL) - fatal(_("load_ext: library `%s': cannot call function `%s' (%s)\n"), + fatal(_("load_ext: library `%s': cannot call function `%s' (%s)"), lib_name, INIT_FUNC, dlerror()); if (install_func(& api_impl, NULL /* ext_id */) == 0) - warning(_("load_ext: library `%s' initialization routine `%s' failed\n"), + warning(_("load_ext: library `%s' initialization routine `%s' failed"), lib_name, INIT_FUNC); } |