aboutsummaryrefslogtreecommitdiffstats
path: root/ext.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-09-07 10:43:21 +0300
committerArnold D. Robbins <arnold@skeeve.com>2018-09-07 10:43:21 +0300
commitf0d8b816af00186c108f6cdc538ec18d8b4dddba (patch)
treea009a02bfefb30ab68471ed482cfe6ae9e301aab /ext.c
parent4cf259c113a5a47a4a46a6875ac08fd09b0bca09 (diff)
downloadegawk-f0d8b816af00186c108f6cdc538ec18d8b4dddba.tar.gz
egawk-f0d8b816af00186c108f6cdc538ec18d8b4dddba.tar.bz2
egawk-f0d8b816af00186c108f6cdc538ec18d8b4dddba.zip
Remove \n from calls to lintwarn, warning, and fatal.
Diffstat (limited to 'ext.c')
-rw-r--r--ext.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext.c b/ext.c
index 027df697..7ed045c5 100644
--- a/ext.c
+++ b/ext.c
@@ -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);
}