Update to pci_types 0.10.1

And avoid hiding channel open errors in pcid-spawner. This would have
made the location of the problem more obvious.
This commit is contained in:
bjorn3
2026-02-07 18:02:32 +01:00
parent f2ffbf1eb5
commit 7f0e870b76
5 changed files with 14 additions and 8 deletions
+1 -2
View File
@@ -331,8 +331,7 @@ impl PciFunctionHandle {
device_path.join("channel").to_str().unwrap(),
libredox::flag::O_RDWR,
0,
)
.map_err(|err| io::Error::other(format!("failed to open pcid channel: {}", err)))?;
)?;
Ok(Self::connect_common(channel_fd as RawFd))
}