From 782ed8556315b90be29d56aaf7d4ce1570bf9c67 Mon Sep 17 00:00:00 2001 From: ko1N Date: Sat, 21 Nov 2020 18:47:48 +0100 Subject: [PATCH] Fixed example --- 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 7b67019..274b840 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::*; +use memflow::prelude::v1::*; fn main() { simple_logger::SimpleLogger::new() @@ -19,7 +19,7 @@ fn main() { ConnectorArgs::new() }; - let mut conn = memflow_pcileech::create_connector(&conn_args) + let mut conn = memflow_pcileech::create_connector(Level::Debug, &conn_args) .expect("unable to initialize memflow_pcileech"); let addr = Address::from(0x1000);