mirror of
https://github.com/nmap/nmap.git
synced 2026-10-20 19:01:56 +00:00
Fixed an incorrect number of arguments being passed to a vararg error function.
This commit is contained in:
parent
796dd919ff
commit
6bfd95743f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue