summaryrefslogtreecommitdiff
path: root/src/hs_parse_args.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hs_parse_args.c')
-rw-r--r--src/hs_parse_args.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hs_parse_args.c b/src/hs_parse_args.c
index 6fb8f31..eee34e9 100644
--- a/src/hs_parse_args.c
+++ b/src/hs_parse_args.c
@@ -1,3 +1,5 @@
+#include <stdio.h>
+
#include "honeysuckle.h"
static bool check_parse(lua_State *L, int index, struct hs_arg *expected)
@@ -104,7 +106,7 @@ void hs_parse_args_(lua_State *L, int n_args, struct hs_arg *arguments)
lua_pushstring(L, ", ");
}
lua_pop(L, 1);
- lua_pushstring(") instead");
+ lua_pushstring(L, ") instead");
lua_concat(L, 1 + (2*n_args) + (2*n_provided));
lua_error(L);
}