authorgravatar for 72246322+a1393323447@users.noreply.github.com朕与将军解战袍 <72246322+a1393323447@users.noreply.github.com> 2023-04-27 16:10:38+08:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2023-04-27 11:10:38+03:00
log363269a2a9aa71d909aa28f2f9c68c4220ae3d0b
treeaca6ce36afdd370f92eab9049e0f7db3782d29e9
parent1a455b2dd8b45fe197fcac7abb9816f5518f6ccd
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

fix incorrect struct definition


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/os/linux.zig+2-2
......@@ -4004,7 +4004,7 @@ pub const io_uring_probe = extern struct {
40044004 ops_len: u8,
40054005
40064006 resv: u16,
4007 resv2: u32[3],
4007 resv2: [3]u32,
40084008
40094009 // Followed by up to `ops_len` io_uring_probe_op structures
40104010};
......@@ -4022,7 +4022,7 @@ pub const io_uring_restriction = extern struct {
40224022 sqe_flags: u8,
40234023 },
40244024 resv: u8,
4025 resv2: u32[3],
4025 resv2: [3]u32,
40264026};
40274027
40284028/// io_uring_restriction->opcode values