From e08737e6459f6c04f4d9bafcdb6ba8c3fa106a74 Mon Sep 17 00:00:00 2001 From: ko1N Date: Sun, 22 Nov 2020 20:23:25 +0100 Subject: [PATCH] Fixed example for current memflow release --- memflow-pcileech/examples/read_phys.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/memflow-pcileech/examples/read_phys.rs b/memflow-pcileech/examples/read_phys.rs index 2e1d2b0..78a3e03 100644 --- a/memflow-pcileech/examples/read_phys.rs +++ b/memflow-pcileech/examples/read_phys.rs @@ -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];