Skip to content

Commit

Permalink
fix typo in the creation of OpenOption
Browse files Browse the repository at this point in the history
Due to this typo we have to build a workaround for issue
hermit-os/kernel#191.

RustyHermit is a tier 3 platform and backward compatibility does
not have to be guaranteed.
  • Loading branch information
stlankes committed Mar 19, 2023
1 parent 7f0cd7e commit 5a3494b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/src/sys/hermit/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ impl OpenOptions {
create: false,
create_new: false,
// system-specific
mode: 0x777,
mode: 0o777,
}
}

Expand Down

0 comments on commit 5a3494b

Please sign in to comment.