From 6bfd95743feed59a4028b089665a0ce017321f40 Mon Sep 17 00:00:00 2001 From: batrick Date: Tue, 5 Aug 2008 09:29:15 +0000 Subject: [PATCH] Fixed an incorrect number of arguments being passed to a vararg error function. --- nse_init.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nse_init.cc b/nse_init.cc index 9b15e34db..71eaa6e06 100644 --- a/nse_init.cc +++ b/nse_init.cc @@ -519,7 +519,7 @@ static int entry (lua_State *L) if (nse_fetchfile(script_path, sizeof(script_path), lua_tostring(L, 3)) != 1) - luaL_error(L, "%s: %s is not a file!", lua_tostring(L, 3)); + luaL_error(L, "%s is not a file!", lua_tostring(L, 3)); lua_pushvalue(L, 3); // filename lua_pushboolean(L, true);