diff --git a/nse_dnet.cc b/nse_dnet.cc index 16ac63af8..5153eacbf 100644 --- a/nse_dnet.cc +++ b/nse_dnet.cc @@ -215,7 +215,7 @@ static int ethernet_send (lua_State *L) if (sent == len) return nseU_success(L); else - return nseU_safeerror(L, "netutil_eth_send error: %lu", sent); + return nseU_safeerror(L, "netutil_eth_send error: %d", sent); } static int ip_open (lua_State *L)