diff --git a/tool/net/redbean.c b/tool/net/redbean.c index 405575624..efe10604a 100644 --- a/tool/net/redbean.c +++ b/tool/net/redbean.c @@ -3351,7 +3351,7 @@ static void OnlyCallFromMainProcess(lua_State *L, const char *api) { static void OnlyCallDuringConnection(lua_State *L, const char *api) { if (!ishandlingconnection) { - luaL_error(L, "%s() can only be called ", api, + luaL_error(L, "%s() can only be called %s", api, "while handling a connection"); unreachable; }