Skip to content

Commit

Permalink
Changed sys::IOSQE_FIXED_FILE_BIT with Flags::FIXED_FILE.bits as requ…
Browse files Browse the repository at this point in the history
…ested
  • Loading branch information
yaroslavros committed Dec 26, 2024
1 parent 55778e3 commit 0c6c88e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opcode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1870,7 +1870,7 @@ opcode! {
let mut sqe = sqe_zeroed();
sqe.opcode = Self::CODE;
sqe.fd = fd.0 as _;
sqe.flags = 1 << sys::IOSQE_FIXED_FILE_BIT;
sqe.flags = crate::squeue::Flags::FIXED_FILE.bits();
sqe.__bindgen_anon_3.install_fd_flags = file_flags;
Entry(sqe)
}
Expand Down

0 comments on commit 0c6c88e

Please sign in to comment.