net/i40e: fix using error set function