| author | |
| committer | |
| log | b2c85464bef931c8263b50b40697a584600ee69e |
| tree | 870734d6c4635ffef54fe161821bc779626e8b95 |
| parent | 342bae02d86d9bd9f2db6ae9489021bab28595ae |
`register_files_update` was passing a pointer to a Zig struct to the kernel.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/os/linux/io_uring.zig+1-1| ... | ... | @@ -954,7 +954,7 @@ pub const IO_Uring = struct { |
| 954 | 954 | pub fn register_files_update(self: *IO_Uring, offset: u32, fds: []const os.fd_t) !void { |
| 955 | 955 | assert(self.fd >= 0); |
| 956 | 956 | |
| 957 | const FilesUpdate = struct { | |
| 957 | const FilesUpdate = extern struct { | |
| 958 | 958 | offset: u32, |
| 959 | 959 | resv: u32, |
| 960 | 960 | fds: u64 align(8), |