Skip to content

Commit

Permalink
Update src/platform/linux_usbfs/enumeration.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Ling <[email protected]>
  • Loading branch information
tuna-f1sh and martinling authored Sep 23, 2024
1 parent a051bf3 commit dbcc440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/linux_usbfs/enumeration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ pub fn list_buses() -> Result<impl Iterator<Item = BusInfo>, Error> {
.ok()
.and_then(|p| p.parent().map(|p| SysfsPath(p.to_owned())))?;

debug!("Probing PCI device {:?}", parent_path.0);
debug!("Probing parent device {:?}", parent_path.0);
let driver = parent_path.readlink_attr_filename("driver").ok();

Some(BusInfo {
Expand Down

0 comments on commit dbcc440

Please sign in to comment.