mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-16 11:16:45 -04:00
Fix clippy warnings, and an actual bug with FanControl::try_from<u32>
This commit is contained in:
parent
9d7ee926f4
commit
b962bbf548
6 changed files with 21 additions and 21 deletions
|
@ -44,7 +44,7 @@ impl Ftrace {
|
|||
pub async fn init(connection: Connection) -> Result<Ftrace> {
|
||||
let path = Self::base();
|
||||
fs::create_dir_all(&path).await?;
|
||||
setup_traces(&path.as_path()).await?;
|
||||
setup_traces(path.as_path()).await?;
|
||||
let file = pipe::OpenOptions::new()
|
||||
.unchecked(true) // Thanks tracefs for making trace_pipe a "regular" file
|
||||
.open_receiver(path.join("trace_pipe"))?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue