aboutsummaryrefslogtreecommitdiffstats
path: root/ext.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-01-07 21:01:10 +0200
committerArnold D. Robbins <arnold@skeeve.com>2014-01-07 21:01:10 +0200
commit56213f42462dc91f4de5a509095dd8bfc4aeef84 (patch)
tree17fe42673679727b35f10309b29af4ded5c941e1 /ext.c
parent4ce4e30a2fa25d458cf0c8569ce82a0afe03c8be (diff)
downloadegawk-56213f42462dc91f4de5a509095dd8bfc4aeef84.tar.gz
egawk-56213f42462dc91f4de5a509095dd8bfc4aeef84.tar.bz2
egawk-56213f42462dc91f4de5a509095dd8bfc4aeef84.zip
Make old extensions compile and work under Linux.
Diffstat (limited to 'ext.c')
-rw-r--r--ext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext.c b/ext.c
index 9e17761a..60765e07 100644
--- a/ext.c
+++ b/ext.c
@@ -174,9 +174,9 @@ load_old_ext(SRCFILE *s, const char *init_func, const char *fini_func, NODE *obj
fatal(_("`extension' is a gawk extension"));
if (lib_name == NULL)
- fatal(_("load_ext: received NULL lib_name"));
+ fatal(_("extension: received NULL lib_name"));
- if ((dl = dlopen(s->fullpath, flags)) == NULL)
+ if ((dl = dlopen(lib_name, flags)) == NULL)
fatal(_("extension: cannot open library `%s' (%s)"), lib_name,
dlerror());