summaryrefslogtreecommitdiff
path: root/src/hs_traceback.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hs_traceback.c')
-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);