aboutsummaryrefslogtreecommitdiff
path: root/lua.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua.c b/lua.c
index ea6141bb..64d39160 100644
--- a/lua.c
+++ b/lua.c
@@ -497,7 +497,7 @@ static void lua_freeline (char *line) {
497static void lua_initreadline (lua_State *L) { 497static void lua_initreadline (lua_State *L) {
498 void *lib = dlopen(LUA_READLINELIB, RTLD_NOW | RTLD_LOCAL); 498 void *lib = dlopen(LUA_READLINELIB, RTLD_NOW | RTLD_LOCAL);
499 if (lib == NULL) 499 if (lib == NULL)
500 lua_warning(L, "library '" LUA_READLINELIB "'not found", 0); 500 lua_warning(L, "library '" LUA_READLINELIB "' not found", 0);
501 else { 501 else {
502 const char **name = cast(const char**, dlsym(lib, "rl_readline_name")); 502 const char **name = cast(const char**, dlsym(lib, "rl_readline_name"));
503 if (name != NULL) 503 if (name != NULL)