diff --git a/src/util.rs b/src/util.rs index 9c2de25..df85571 100644 --- a/src/util.rs +++ b/src/util.rs @@ -10,7 +10,7 @@ use std::path::PathBuf; extern crate libudev; use libudev::Device; -use sema::*; +use crate::sema::Semaphore; pub fn rename_needed(ifname: &str, prefix: &str) -> Result> { let re: Regex = Regex::new(&format!("{}\\d+", prefix)).unwrap();