Skip to content

Commit c425bed

Browse files
committed
Update for rustix 0.38.
1 parent a6f7963 commit c425bed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cap-primitives/src/rustix/linux/fs/open_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ pub(crate) fn open_beneath(
140140
fn openat2_supported() -> bool {
141141
// `openat2` is supported in Linux 5.6 and later. Parse the current
142142
// Linux version from the `release` field from `uname` to detect this.
143-
let uname = rustix::process::uname();
143+
let uname = rustix::system::uname();
144144
let release = uname.release().to_bytes();
145145
if let Some((major, minor)) = linux_major_minor(release) {
146146
if major >= 6 || (major == 5 && minor >= 6) {

0 commit comments

Comments
 (0)