Fixed example for current memflow release

pull/7/head
ko1N 4 years ago
parent c7b369bc9b
commit e08737e645

@ -3,7 +3,7 @@ use std::time::Instant;
use log::{info, Level};
use memflow::prelude::v1::*;
use memflow::*;
fn main() {
simple_logger::SimpleLogger::new()
@ -19,7 +19,7 @@ fn main() {
ConnectorArgs::new()
};
let mut conn = memflow_pcileech::create_connector(Level::Debug, &conn_args)
let mut conn = memflow_pcileech::create_connector(&conn_args)
.expect("unable to initialize memflow_pcileech");
let mut mem = vec![0; 8];

Loading…
Cancel
Save