summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2021-09-19 12:59:51 -0500
committersanine <sanine.not@pm.me>2021-09-19 12:59:51 -0500
commit20974430a199d98c59743e6a41e44e61320855d1 (patch)
tree122f3ed4f72b55bc4885c3a3d0f689ae9145dc45 /src
parent85c6ffd806c6f96b321697eb703f828f3d2402e8 (diff)
fix link issue with hs_call
Diffstat (limited to 'src')
-rw-r--r--src/hs_traceback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hs_traceback.c b/src/hs_traceback.c
index 0fc8266..1830721 100644
--- a/src/hs_traceback.c
+++ b/src/hs_traceback.c
@@ -27,7 +27,7 @@ int hs_traceback(lua_State *L)
int hs_call(lua_State *L, int nargs, int nret)
{
- int insert_pos = lua_gettop(L) - nargs;
+ int traceback_pos = lua_gettop(L) - nargs;
lua_pushcfunction(L, hs_traceback);
lua_insert(L, traceback_pos);